)]}'
{"id":"openstack%2Fpython-novaclient~244476","triplet_id":"openstack%2Fpython-novaclient~master~I38c925739b8bb9ac52eae6ba1ad2e9dec3264832","project":"openstack/python-novaclient","branch":"master","topic":"bug/1515500","hashtags":[],"change_id":"I38c925739b8bb9ac52eae6ba1ad2e9dec3264832","subject":"Client repr hosts list return value will raise AttributeError: host","status":"ABANDONED","created":"2015-11-12 07:29:09.000000000","updated":"2015-12-28 02:35:59.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"316ef39f78179b9cdad5a72344b525d96a31f3ff","_number":244476,"virtual_id_number":244476,"owner":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":1,"date":"2015-11-13 05:48:28.000000000","_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"},{"date":"2015-11-20 07:41:08.000000000","_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"}],"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":{"approved":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"disliked":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"all":[{"value":-1,"date":"2015-11-16 19:57:36.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2015-11-13 16:25:07.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":-1,"date":"2015-11-19 12:12:41.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"}],"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":"","value":-1,"default_value":0,"optional":true},"Workflow":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_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"},{"value":0,"permitted_voting_range":{"min":-1,"max":0},"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"}],"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":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-11-13 05:48:28.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2015-11-13 16:25:07.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":"2015-11-16 19:57:36.000000000","updated_by":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"reviewer":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"state":"REVIEWER"},{"updated":"2015-11-19 12:12:41.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"}],"messages":[{"id":"3399210c6721b233a94265bf5b814ee562294b44","author":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"date":"2015-11-12 07:29:09.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"b163d0cfd4a3ed79f2eb18b23c6b457ec5e413a7","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-12 08:29:05.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/76/244476/1/check/gate-python-novaclient-python26/2d457a6/ : SUCCESS in 1m 27s\n- gate-python-novaclient-pep8 http://logs.openstack.org/76/244476/1/check/gate-python-novaclient-pep8/81d0c31/ : SUCCESS in 1m 07s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/76/244476/1/check/gate-python-novaclient-docs/aae3edb//doc/build/html/ : SUCCESS in 1m 08s\n- gate-python-novaclient-python27 http://logs.openstack.org/76/244476/1/check/gate-python-novaclient-python27/22ba925/ : SUCCESS in 1m 29s\n- gate-python-novaclient-python34 http://logs.openstack.org/76/244476/1/check/gate-python-novaclient-python34/b9805d5/ : SUCCESS in 1m 50s\n- gate-python-novaclient-pypy http://logs.openstack.org/76/244476/1/check/gate-python-novaclient-pypy/e55a709/ : SUCCESS in 2m 32s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/76/244476/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/459a9fd/ : SUCCESS in 59m 48s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/76/244476/1/check/gate-novaclient-dsvm-functional/5d761a9/ : SUCCESS in 28m 20s","accounts_in_message":[],"_revision_number":1},{"id":"784ce11b5a8eb32fb52baa3f89c5bdc3d1a8f4ed","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-11-12 16:37:39.000000000","message":"Patch Set 1:\n\nThis is an intriguing way of addressing the problem, but only helps repr\u0027s; everything else is still going to fail.  What I would actually like to see, if possible, is a work-around in the resource construction code that detects the attribute mismatch and maps the attributes appropriately.\n\nOf course, the ultimate fix is probably in the nova API itself—use a microversion and make list return the correctly named attributes—but we\u0027ll still want a work-around for novaclient.","accounts_in_message":[],"_revision_number":1},{"id":"56140556002807de59e1f53181adba572883dcfc","author":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"date":"2015-11-13 04:56:12.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"a068b5155d8cf81fa6f21537c43264e24d959830","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-13 05:48:28.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/76/244476/2/check/gate-python-novaclient-python26/a3f9fbf/ : SUCCESS in 1m 25s\n- gate-python-novaclient-pep8 http://logs.openstack.org/76/244476/2/check/gate-python-novaclient-pep8/afdfd3e/ : SUCCESS in 1m 04s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/76/244476/2/check/gate-python-novaclient-docs/1ce1336//doc/build/html/ : SUCCESS in 1m 28s\n- gate-python-novaclient-python27 http://logs.openstack.org/76/244476/2/check/gate-python-novaclient-python27/3fb8e65/ : SUCCESS in 1m 51s\n- gate-python-novaclient-python34 http://logs.openstack.org/76/244476/2/check/gate-python-novaclient-python34/8ada08b/ : SUCCESS in 2m 09s\n- gate-python-novaclient-pypy http://logs.openstack.org/76/244476/2/check/gate-python-novaclient-pypy/01923b5/ : SUCCESS in 2m 33s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/76/244476/2/check/gate-tempest-dsvm-neutron-src-python-novaclient/cd9dc16/ : SUCCESS in 52m 09s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/76/244476/2/check/gate-novaclient-dsvm-functional/25ae6d0/ : SUCCESS in 27m 43s","accounts_in_message":[],"_revision_number":2},{"id":"c532d29425905e5e655e0315a4fccf6385af1859","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-11-13 16:25:07.000000000","message":"Patch Set 2: Code-Review+2\n\nThis is pretty much what I was looking for.  Note that, as written, there will be a \"host_name\" attribute present on hosts retrieved from a list, but that\u0027s a minor thing as far as I\u0027m concerned.","accounts_in_message":[],"_revision_number":2},{"id":"126454086f294b4d3b5c36a7ad2be302239615a2","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-11-16 19:57:36.000000000","message":"Patch Set 2: Code-Review-1\n\nAs mentioned in the original bug details [1], I prefer if we create a new resource type for HostList and specify it for the list call\n\n[1] https://bugs.launchpad.net/python-novaclient/+bug/1434167","accounts_in_message":[],"_revision_number":2},{"id":"b99c0e5dcf032cf990411ff433805fac3e9635b0","author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"date":"2015-11-19 12:12:41.000000000","message":"Patch Set 2: Code-Review-1\n\nI\u0027m with mel on this one.","accounts_in_message":[],"_revision_number":2},{"id":"23420ccc108c828cf3641252c0cb217c5732558f","author":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"date":"2015-11-20 07:41:08.000000000","message":"Patch Set 2:\n\n@melanie witt:\nMaybe create HostList resource should been done in other patch instead of this one.","accounts_in_message":[],"_revision_number":2},{"id":"dbca5a53ba648fff290a26aacfd9d9cff8800da4","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-11-21 00:28:08.000000000","message":"Patch Set 2:\n\nI have proposed https://review.openstack.org/#/c/248300/ with the fix I requested.\n\nlyanchih, I added you to the review","accounts_in_message":[],"_revision_number":2},{"id":"52ae07dab43010f0ae9f40f8277ef36d99c825d4","author":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"date":"2015-12-28 02:35:59.000000000","message":"Abandoned\n\nThis got fixed at https://review.openstack.org/#/c/248300/","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"5703c4c33603f56be85eaffcc271fc8f7d97993b","revisions":{"c995faa4dd067a0e7442aab7c44f55f5c5c5d3bc":{"kind":"REWORK","_number":1,"created":"2015-11-12 07:29:09.000000000","uploader":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"ref":"refs/changes/76/244476/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/76/244476/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/1"}}},"commit":{"parents":[{"commit":"903538ee59dbd9230a87c7791785f94b2c2f8ebb","subject":"Merge \"Refactor parsing metadata to a common function\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/903538ee59dbd9230a87c7791785f94b2c2f8ebb"}]}],"author":{"name":"Chung Chih, Hung","email":"lyan.h@inwinstack.com","date":"2015-11-12 07:28:31.000000000","tz":0},"committer":{"name":"Chung Chih, Hung","email":"lyan.h@inwinstack.com","date":"2015-11-12 07:29:22.000000000","tz":0},"subject":"Client repr hosts list return value will raise AttributeError: host","message":"Client repr hosts list return value will raise AttributeError: host\n\nHosts list api return body contain host_name key. But host get api\nreturn body contain host key. This will cause host repr function call\nraise exception.\n\nWe can just add condition statement to determine Host object whether\ncontain host attribute. If it is not exist then we access host_name\nattribute.\n\nChange-Id: I38c925739b8bb9ac52eae6ba1ad2e9dec3264832\nCloses-Bug: 1515500\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/c995faa4dd067a0e7442aab7c44f55f5c5c5d3bc"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/c995faa4dd067a0e7442aab7c44f55f5c5c5d3bc"}]},"branch":"refs/heads/master"},"5703c4c33603f56be85eaffcc271fc8f7d97993b":{"kind":"REWORK","_number":2,"created":"2015-11-13 04:56:12.000000000","uploader":{"_account_id":14447,"name":"lyanchih","email":"lyan.h@inwinstack.com","username":"lyanchih"},"ref":"refs/changes/76/244476/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/76/244476/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/76/244476/2"}}},"commit":{"parents":[{"commit":"903538ee59dbd9230a87c7791785f94b2c2f8ebb","subject":"Merge \"Refactor parsing metadata to a common function\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/903538ee59dbd9230a87c7791785f94b2c2f8ebb"}]}],"author":{"name":"Chung Chih, Hung","email":"lyan.h@inwinstack.com","date":"2015-11-12 07:28:31.000000000","tz":0},"committer":{"name":"Chung Chih, Hung","email":"lyan.h@inwinstack.com","date":"2015-11-13 04:55:58.000000000","tz":0},"subject":"Client repr hosts list return value will raise AttributeError: host","message":"Client repr hosts list return value will raise AttributeError: host\n\nHosts list api return body contain host_name key. But host get api\nreturn body contain host key. This will cause host repr function call\nraise exception.\n\nWe can just add condition statement to determine whether response body\ncontain host_name attribute. If it is exist then rename it to host.\n\nChange-Id: I38c925739b8bb9ac52eae6ba1ad2e9dec3264832\nCloses-Bug: 1515500\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/5703c4c33603f56be85eaffcc271fc8f7d97993b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/5703c4c33603f56be85eaffcc271fc8f7d97993b"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
