)]}'
{"id":"openstack%2Fpython-novaclient~272459","triplet_id":"openstack%2Fpython-novaclient~master~Ie0ee96999376cbf608caa1cf8521dbef5c939b52","project":"openstack/python-novaclient","branch":"master","topic":"bug/1538073","hashtags":[],"change_id":"Ie0ee96999376cbf608caa1cf8521dbef5c939b52","subject":"Make _poll_for_status more user-friendly","status":"MERGED","created":"2016-01-26 10:42:06.000000000","updated":"2016-02-09 15:04:08.000000000","submitted":"2016-02-09 15:04:07.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f92828cf6a337de61f773966e3e034f9185f544a","_number":272459,"virtual_id_number":272459,"owner":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2016-02-09 15:04:07.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"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":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-02-04 19:10:18.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":2,"date":"2016-02-09 13:25:14.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"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":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":1,"date":"2016-02-09 13:25:14.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"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":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-01-26 13:33:31.000000000","updated_by":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"reviewer":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"state":"REVIEWER"},{"updated":"2016-02-04 19:10:18.000000000","updated_by":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"reviewer":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"state":"REVIEWER"},{"updated":"2016-02-09 13:25:14.000000000","updated_by":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"reviewer":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"state":"REVIEWER"},{"updated":"2016-02-09 15:04:07.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"0d0ce24934eb5049242c307d01bffd112c370529","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2016-01-26 10:42:06.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"62f25116ae48213f5aff66bd746a879c3613b3f0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-26 11:52:30.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-pep8/4aff0fb/ : FAILURE in 1m 08s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/59/272459/1/check/gate-python-novaclient-docs/79aabdf//doc/build/html/ : SUCCESS in 1m 21s\n- gate-python-novaclient-python27 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-python27/fb33917/ : SUCCESS in 2m 02s\n- gate-python-novaclient-python34 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-python34/e1c3c0f/ : SUCCESS in 2m 21s\n- gate-python-novaclient-pypy http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-pypy/c554c15/ : SUCCESS in 3m 05s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/59/272459/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/5f0a011/ : SUCCESS in 1h 06m 40s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/59/272459/1/check/gate-novaclient-dsvm-functional/a2223cb/ : SUCCESS in 33m 18s","accounts_in_message":[],"_revision_number":1},{"id":"51cd0613caf4e5291156305fe6c1a3ac9b19adb9","author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"date":"2016-01-26 13:33:31.000000000","message":"Patch Set 1:\n\nrecheck","accounts_in_message":[],"_revision_number":1},{"id":"3b0ddbc6d681aea0a3f789815f4507e36910b791","author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"date":"2016-01-26 13:33:35.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"2174e5212c7c77bc48b5b261d0eff608893a3c2d","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-26 14:55:49.000000000","message":"Patch Set 1:\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-pep8/3be0c0d/ : FAILURE in 1m 11s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/59/272459/1/check/gate-python-novaclient-docs/f6421df//doc/build/html/ : SUCCESS in 1m 22s\n- gate-python-novaclient-python27 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-python27/f089989/ : SUCCESS in 2m 00s\n- gate-python-novaclient-python34 http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-python34/d6e715e/ : SUCCESS in 1m 55s\n- gate-python-novaclient-pypy http://logs.openstack.org/59/272459/1/check/gate-python-novaclient-pypy/4866a16/ : SUCCESS in 2m 27s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/59/272459/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/a5945b3/ : SUCCESS in 1h 16m 38s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/59/272459/1/check/gate-novaclient-dsvm-functional/cffc953/ : SUCCESS in 35m 27s","accounts_in_message":[],"_revision_number":1},{"id":"82f8b2362e7654613a0786c134dcd99d2e600630","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-01-26 18:26:04.000000000","message":"Patch Set 1:\n\n(1 comment)\n\nI\u0027d like to see some additional unit tests to exercise the new code path…","accounts_in_message":[],"_revision_number":1},{"id":"f0349c690d36e290dd131e3de1d31fe3e5f95518","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2016-02-03 17:20:13.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"b7068e5bebb77acd0d6f0becbad8d21f82c409c4","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-02-03 18:06:11.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"3952b51938226693bb9ad9629e18b75e19948c94","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-03 21:26:34.000000000","message":"Patch Set 2: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/59/272459/2/check/gate-python-novaclient-pep8/9cda741/ : FAILURE in 1m 17s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/59/272459/2/check/gate-python-novaclient-docs/d82465d//doc/build/html/ : SUCCESS in 1m 36s\n- gate-python-novaclient-python27 http://logs.openstack.org/59/272459/2/check/gate-python-novaclient-python27/9739d61/ : FAILURE in 1m 56s\n- gate-python-novaclient-python34 http://logs.openstack.org/59/272459/2/check/gate-python-novaclient-python34/8625ae3/ : FAILURE in 2m 04s\n- gate-python-novaclient-pypy http://logs.openstack.org/59/272459/2/check/gate-python-novaclient-pypy/67439a5/ : FAILURE in 2m 33s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/59/272459/2/check/gate-tempest-dsvm-neutron-src-python-novaclient/f993cc6/ : SUCCESS in 1h 05m 12s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/59/272459/2/check/gate-novaclient-dsvm-functional/f43b78e/ : SUCCESS in 31m 06s","accounts_in_message":[],"_revision_number":2},{"id":"7be394f9a72ac9a75ce1d93b372bf0ed9fcf3e77","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2016-02-04 18:07:40.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"5f64ff8557e853ebbeb933d0722f31073cf30bbf","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-02-04 19:10:18.000000000","message":"Patch Set 3: Code-Review+2\n\n(1 comment)","accounts_in_message":[],"_revision_number":3},{"id":"48f0974d130c8e047a741af9136b61b7a272738d","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-04 21:22:22.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/59/272459/3/check/gate-python-novaclient-pep8/486881a/ : SUCCESS in 1m 05s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/59/272459/3/check/gate-python-novaclient-docs/4bd958a//doc/build/html/ : SUCCESS in 1m 25s\n- gate-python-novaclient-python27 http://logs.openstack.org/59/272459/3/check/gate-python-novaclient-python27/94b73a7/ : SUCCESS in 1m 51s\n- gate-python-novaclient-python34 http://logs.openstack.org/59/272459/3/check/gate-python-novaclient-python34/8a3265f/ : SUCCESS in 2m 16s\n- gate-python-novaclient-pypy http://logs.openstack.org/59/272459/3/check/gate-python-novaclient-pypy/5d76cd6/ : SUCCESS in 2m 13s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/59/272459/3/check/gate-tempest-dsvm-neutron-src-python-novaclient/3854805/ : SUCCESS in 56m 16s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/59/272459/3/check/gate-novaclient-dsvm-functional/a841f63/ : SUCCESS in 37m 57s","accounts_in_message":[],"_revision_number":3},{"id":"c6c8d54ecfe41a9f1b3ed9c3c3b39a3ae1c70537","author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"date":"2016-02-09 13:25:14.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":3},{"id":"7ec2a1c736d29c7002d50c460bf21a5bdbd41150","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-09 13:25:44.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":3},{"id":"0060df33a0ac133ce9f888a9d6194b43d4036045","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-09 15:04:07.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-novaclient-docs http://docs-draft.openstack.org/59/272459/3/gate/gate-python-novaclient-docs/da211b1//doc/build/html/ : SUCCESS in 1m 14s\n- gate-python-novaclient-pep8 http://logs.openstack.org/59/272459/3/gate/gate-python-novaclient-pep8/34370d5/ : SUCCESS in 45s\n- gate-python-novaclient-python27 http://logs.openstack.org/59/272459/3/gate/gate-python-novaclient-python27/1e76517/ : SUCCESS in 1m 26s\n- gate-python-novaclient-python34 http://logs.openstack.org/59/272459/3/gate/gate-python-novaclient-python34/21b2194/ : SUCCESS in 2m 09s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/59/272459/3/gate/gate-tempest-dsvm-neutron-src-python-novaclient/58ce90c/ : SUCCESS in 1h 36m 17s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/59/272459/3/gate/gate-novaclient-dsvm-functional/563d145/ : SUCCESS in 28m 55s","accounts_in_message":[],"_revision_number":3},{"id":"86178aaba62038f78dc2fdd37f450d26ad32ac40","date":"2016-02-09 15:04:08.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"0d0749d39ffd122387fde6ee5e9b029f93e53459","revisions":{"2b1a9499534920b756b3ada390f1f479a8e543b0":{"kind":"REWORK","_number":1,"created":"2016-01-26 10:42:06.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/59/272459/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/59/272459/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/1"}}},"commit":{"parents":[{"commit":"5619354b8141a1f402dcbc686c91ab03b6c67742","subject":"Merge \"Remove argparse from requirements\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/5619354b8141a1f402dcbc686c91ab03b6c67742"}]}],"author":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-01-26 10:39:52.000000000","tz":120},"committer":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-01-26 10:39:52.000000000","tz":120},"subject":"Prevent AttributError to _poll_for_status","message":"Prevent AttributError to _poll_for_status\n\nThis patch adds an assumpation that object can do not have fault attribute.\nIn such case, lets print \"n\\a\" as fault message.\n\nChange-Id: Ie0ee96999376cbf608caa1cf8521dbef5c939b52\nCloses-Bug: #1538073\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/2b1a9499534920b756b3ada390f1f479a8e543b0"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/2b1a9499534920b756b3ada390f1f479a8e543b0"}]},"branch":"refs/heads/master"},"b640014570625a02598d2926af72ceedacb1271e":{"kind":"REWORK","_number":2,"created":"2016-02-03 17:20:13.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/59/272459/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/59/272459/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/2"}}},"commit":{"parents":[{"commit":"3baed9ed4806bf79e271cb2f5d69e4995d727808","subject":"Merge \"Use # noqa to ignore one line but not whole file\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/3baed9ed4806bf79e271cb2f5d69e4995d727808"}]}],"author":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-01-26 10:39:52.000000000","tz":120},"committer":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-03 17:20:05.000000000","tz":120},"subject":"Make _poll_for_status more user-friendly","message":"Make _poll_for_status more user-friendly\n\nNOTE: _poll_for_status is a private method, which is used only in shell\n      module, so we can modify it without backward compatibility.\n\n_poll_for_status is used for various resources with different interfaces.\n\nIn case of snapshotting, it works with Image resources, which doesn\u0027t have\n\"fault\" attribute in \"error\" state. To prevent AttributeError, we should take\nthis into account.\n\nAlso, an exception raised by _poll_for_status(InstanceInErrorState) should\nnot be hardcoded for one type of resource, so this exception is renamed to\nResourceInErrorState. An exception InstanceInDeletedState, which is also\ncan be raised by _poll_for_status, is not modified, since I don\u0027t know cases\nwhen it can be used with resources other than Server.\n\nChange-Id: Ie0ee96999376cbf608caa1cf8521dbef5c939b52\nCloses-Bug: #1538073\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/b640014570625a02598d2926af72ceedacb1271e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/b640014570625a02598d2926af72ceedacb1271e"}]},"branch":"refs/heads/master"},"0d0749d39ffd122387fde6ee5e9b029f93e53459":{"kind":"REWORK","_number":3,"created":"2016-02-04 18:07:40.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/59/272459/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/59/272459/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/59/272459/3"}}},"commit":{"parents":[{"commit":"3baed9ed4806bf79e271cb2f5d69e4995d727808","subject":"Merge \"Use # noqa to ignore one line but not whole file\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/3baed9ed4806bf79e271cb2f5d69e4995d727808"}]}],"author":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-01-26 10:39:52.000000000","tz":120},"committer":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-04 18:06:43.000000000","tz":120},"subject":"Make _poll_for_status more user-friendly","message":"Make _poll_for_status more user-friendly\n\nNOTE: _poll_for_status is a private method, which is used only in shell\n      module, so we can modify it without backward compatibility.\n\n_poll_for_status is used for various resources with different interfaces.\n\nIn case of snapshotting, it works with Image resources, which doesn\u0027t have\n\"fault\" attribute in \"error\" state. To prevent AttributeError, we should take\nthis into account.\n\nAlso, an exception raised by _poll_for_status(InstanceInErrorState) should\nnot be hardcoded for one type of resource, so this exception is renamed to\nResourceInErrorState. An exception InstanceInDeletedState, which is also\ncan be raised by _poll_for_status, is not modified, since I don\u0027t know cases\nwhen it can be used with resources other than Server.\n\nChange-Id: Ie0ee96999376cbf608caa1cf8521dbef5c939b52\nCloses-Bug: #1538073\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0d0749d39ffd122387fde6ee5e9b029f93e53459"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0d0749d39ffd122387fde6ee5e9b029f93e53459"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
