)]}'
{"id":"openstack%2Fpython-glanceclient~18779","triplet_id":"openstack%2Fpython-glanceclient~master~I49192c3ebbc8a70b63dcfcede9fd13f1688388cf","project":"openstack/python-glanceclient","branch":"master","topic":"bug/1094917","hashtags":[],"change_id":"I49192c3ebbc8a70b63dcfcede9fd13f1688388cf","subject":"Add details to stdout error message.","status":"MERGED","created":"2012-12-31 16:36:24.000000000","updated":"2013-01-02 23:16:31.000000000","submitted":"2013-01-02 23:16:31.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f16869815e3d9ed4db1f5d965fa526543e3c8455","_number":18779,"virtual_id_number":18779,"owner":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2013-01-02 23:16:31.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},{"value":0,"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},{"value":0,"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},{"value":0,"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"}],"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":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},{"value":2,"date":"2013-01-02 20:14:17.000000000","_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},{"value":2,"date":"2013-01-02 20:48:22.000000000","_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},{"value":0,"date":"2013-01-02 21:58:20.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"}],"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":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"date":"2013-01-01 13:36:50.000000000","_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},{"value":0,"date":"2013-01-02 20:14:17.000000000","_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},{"value":1,"date":"2013-01-02 20:48:22.000000000","_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},{"value":0,"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},{"value":0,"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},{"value":0,"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},{"value":0,"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Top Priority / Holds Gate"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},{"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2013-01-02 20:14:17.000000000","updated_by":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"reviewer":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"state":"REVIEWER"},{"updated":"2013-01-02 20:48:22.000000000","updated_by":{"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},"reviewer":{"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},"state":"REVIEWER"},{"updated":"2013-01-02 21:58:20.000000000","updated_by":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"reviewer":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"state":"REVIEWER"},{"updated":"2013-01-02 23:16:31.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"03a4b760c78981eb55a310f9f1f352a0a5a76149","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2012-12-31 17:03:49.000000000","message":"Patch Set 1: Doesn\u0027t seem to work\n\nBuild failed\n\n- http://logs.openstack.org/18779/1/check/gate-python-glanceclient-docs/437 : SUCCESS\n- http://logs.openstack.org/18779/1/check/gate-python-glanceclient-pep8/501 : FAILURE\n- http://logs.openstack.org/18779/1/check/gate-python-glanceclient-python26/500 : FAILURE\n- http://logs.openstack.org/18779/1/check/gate-python-glanceclient-python27/500 : FAILURE\n- http://logs.openstack.org/18779/1/check/gate-tempest-devstack-vm/23760 : SUCCESS\n- http://logs.openstack.org/18779/1/check/gate-devstack-vm-quantum/228 : SUCCESS (non-voting)\n","accounts_in_message":[],"_revision_number":1},{"id":"1ed67f8f4c39508ba5c4e0026e275385608ba5fe","author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"date":"2013-01-01 13:36:50.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"4c3199e8f81b928b81a499d9ecbb0f2ecc3bc7a0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-01-01 14:19:27.000000000","message":"Patch Set 2: Works for me\n\nBuild successful\n\n- http://logs.openstack.org/18779/2/check/gate-python-glanceclient-docs/439 : SUCCESS\n- http://logs.openstack.org/18779/2/check/gate-python-glanceclient-pep8/503 : SUCCESS\n- http://logs.openstack.org/18779/2/check/gate-python-glanceclient-python26/502 : SUCCESS\n- http://logs.openstack.org/18779/2/check/gate-python-glanceclient-python27/502 : SUCCESS\n- http://logs.openstack.org/18779/2/check/gate-tempest-devstack-vm/23778 : SUCCESS\n- http://logs.openstack.org/18779/2/check/gate-devstack-vm-quantum/248 : SUCCESS (non-voting)\n","accounts_in_message":[],"_revision_number":2},{"id":"0589ee9eea441518c773b9ce7d0799c8ece6b4c6","author":{"_account_id":1132,"name":"Brian Waldon","email":"brian@waldon.cc","username":"bcwaldon"},"date":"2013-01-02 20:14:17.000000000","message":"Patch Set 2: Looks good to me (core reviewer)\n\n","accounts_in_message":[],"_revision_number":2},{"id":"2649ddbff2713b0391fd98e367ed62de12d33253","author":{"_account_id":4463,"name":"iccha-sethi","email":"iccha.sethi@rackspace.com","username":"iccha-sethi"},"date":"2013-01-02 20:48:22.000000000","message":"Patch Set 2: Looks good to me (core reviewer); Approved\n\nlgtm","accounts_in_message":[],"_revision_number":2},{"id":"75c0c6f4098669b354335e1de22856932200bfd1","author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"date":"2013-01-02 21:58:20.000000000","message":"Patch Set 2:\n\nreverify","accounts_in_message":[],"_revision_number":2},{"id":"ddb2310a3fdea716c5da88e4280db28a15d446c8","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-01-02 21:58:21.000000000","message":"Patch Set 2: No score\n\nStarting gate jobs.\nhttp://zuul.openstack.org/","accounts_in_message":[],"_revision_number":2},{"id":"ed8c7739990242fabab4f581271ce27609496656","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-01-02 23:16:31.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":2},{"id":"3cd60d1c455cbb6ba1a2b389014b5dd7153b0173","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-01-02 23:16:31.000000000","message":"Patch Set 2: Verified\n\nBuild successful\n\n- http://logs.openstack.org/18779/2/gate/gate-python-glanceclient-docs/440 : SUCCESS\n- http://logs.openstack.org/18779/2/gate/gate-python-glanceclient-pep8/504 : SUCCESS\n- http://logs.openstack.org/18779/2/gate/gate-python-glanceclient-python26/503 : SUCCESS\n- http://logs.openstack.org/18779/2/gate/gate-python-glanceclient-python27/503 : SUCCESS\n- http://logs.openstack.org/18779/2/gate/gate-tempest-devstack-vm/23937 : SUCCESS\n- http://logs.openstack.org/18779/2/gate/gate-devstack-vm-quantum/428 : SUCCESS (non-voting)\n","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"19d542ef5f570d98e08008898a0ee31a3186d5a9","revisions":{"b041e1134242f4c877a644a01eeaa559fcae367c":{"kind":"REWORK","_number":1,"created":"2012-12-31 16:36:24.000000000","uploader":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"ref":"refs/changes/79/18779/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/79/18779/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/1"}}},"commit":{"parents":[{"commit":"c057fe47d6889912b7675aa54102509cd464171a","subject":"Document v0.7.0 release","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/c057fe47d6889912b7675aa54102509cd464171a"}]}],"author":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2012-12-31 16:20:09.000000000","tz":540},"committer":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2012-12-31 16:34:53.000000000","tz":540},"subject":"Add details to stdout error message.","message":"Add details to stdout error message.\n\nCurrent glance command shows like the following message, if some parameter\nis not specified:\n\n $ glance image-create --file root-fs.img --name cirros-0.3.0-x86_64-uec\n Request returned failure status.\n HTTPBadRequest (HTTP 400)\n $\n\nBy only the above message, it is not easy that a user understand the reason\nof an error. glance-api server returns the details of reason, but glance\ncommand does not show it.\n\nThis patch adds details, which is gotten from glance-api server, to error\nmessage. And a user will be able to understand the reason of a error like\nthe following:\n\n $ glance image-create --file root-fs.img --name cirros-0.3.0-x86_64-uec\n Request returned failure status.\n 400 Bad Request\n Invalid disk format \u0027None\u0027 for image.\n     (HTTP 400)\n $\n\nFixes bug 1094917\n\nChange-Id: I49192c3ebbc8a70b63dcfcede9fd13f1688388cf\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/b041e1134242f4c877a644a01eeaa559fcae367c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/b041e1134242f4c877a644a01eeaa559fcae367c"}]},"branch":"refs/heads/master"},"19d542ef5f570d98e08008898a0ee31a3186d5a9":{"kind":"REWORK","_number":2,"created":"2013-01-01 13:36:50.000000000","uploader":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"ref":"refs/changes/79/18779/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/79/18779/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/79/18779/2"}}},"commit":{"parents":[{"commit":"c057fe47d6889912b7675aa54102509cd464171a","subject":"Document v0.7.0 release","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/c057fe47d6889912b7675aa54102509cd464171a"}]}],"author":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2013-01-01 13:33:15.000000000","tz":540},"committer":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2013-01-01 13:33:15.000000000","tz":540},"subject":"Add details to stdout error message.","message":"Add details to stdout error message.\n\nCurrent glance command does not show the details of error message.\nFor example, the glance command shows HTTPBadRequest only if some\nnecessary parameter is not specified.\n\n $ glance image-create --file root-fs.img --name cirros-0.3.0-x86_64-uec\n Request returned failure status.\n HTTPBadRequest (HTTP 400)\n $\n\nBy only the above message, it is not easy that a user understand the reason\nof an error. glance-api server returns the details of reason, but glance\ncommand does not show it.\n\nThis patch adds details, which is gotten from glance-api server, to error\nmessage. And a user will be able to understand the reason of a error like\nthe following:\n\n $ glance image-create --file root-fs.img --name cirros-0.3.0-x86_64-uec\n Request returned failure status.\n 400 Bad Request\n Invalid disk format \u0027None\u0027 for image.\n     (HTTP 400)\n $\n\nFixes bug 1094917\n\nChange-Id: I49192c3ebbc8a70b63dcfcede9fd13f1688388cf\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/19d542ef5f570d98e08008898a0ee31a3186d5a9"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/19d542ef5f570d98e08008898a0ee31a3186d5a9"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
