)]}'
{"id":"openstack%2Fpython-novaclient~202062","triplet_id":"openstack%2Fpython-novaclient~master~I7e0ef23d23488e4ac0282184f759ea5a1bdf6dc0","project":"openstack/python-novaclient","branch":"master","topic":"bug/1473399","hashtags":[],"change_id":"I7e0ef23d23488e4ac0282184f759ea5a1bdf6dc0","subject":"Fix to set value for name using nova list --fields option","status":"ABANDONED","created":"2015-07-15 11:54:44.000000000","updated":"2015-08-20 09:38:28.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"24acc95eb2c9dcf2daba9022b0bf7e8bcf37aa44","_number":202062,"virtual_id_number":202062,"owner":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":1,"date":"2015-07-15 13:01:12.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"date":"2015-07-17 15:37:31.000000000","_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"date":"2015-07-17 17:00:36.000000000","_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"}],"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":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"}],"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":{"all":[{"_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"},{"value":0,"permitted_voting_range":{"min":-1,"max":0},"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"}],"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":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":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"}],"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":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-07-15 13:01:12.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2015-07-17 15:37:31.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"}],"messages":[{"id":"cde0ab2fe43864f9df3b4ab2eba738ba7a8b15f4","author":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"date":"2015-07-15 11:54:44.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"9a4f527cdefa10d7132cea8eaa43febf84917e84","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-07-15 13:01:12.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/62/202062/1/check/gate-python-novaclient-python26/1154dca/ : SUCCESS in 1m 27s\n- gate-python-novaclient-pep8 http://logs.openstack.org/62/202062/1/check/gate-python-novaclient-pep8/07b9938/ : SUCCESS in 1m 05s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/62/202062/1/check/gate-python-novaclient-docs/9cce003//doc/build/html/ : SUCCESS in 1m 26s\n- gate-python-novaclient-python27 http://logs.openstack.org/62/202062/1/check/gate-python-novaclient-python27/4c80ff3/ : SUCCESS in 2m 02s\n- gate-python-novaclient-python34 http://logs.openstack.org/62/202062/1/check/gate-python-novaclient-python34/854e72a/ : SUCCESS in 2m 10s\n- gate-python-novaclient-pypy http://logs.openstack.org/62/202062/1/check/gate-python-novaclient-pypy/4fb0a88/ : SUCCESS in 4m 02s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/62/202062/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/2441b17/ : SUCCESS in 57m 48s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/62/202062/1/check/gate-novaclient-dsvm-functional/1a897a8/ : SUCCESS in 22m 39s","accounts_in_message":[],"_revision_number":1},{"id":"eb30da4bac3f2fe7a6830776971b50c0b23a3af6","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-07-17 15:37:31.000000000","message":"Patch Set 1:\n\nI don\u0027t understand the problem.  If the instance has a blank name, then printing a blank field is appropriate.  What am I not understanding?","accounts_in_message":[],"_revision_number":1},{"id":"9e16a70ba782bb4d74219d95d45fa5d5521a1f0a","author":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"date":"2015-07-17 17:00:36.000000000","message":"Patch Set 1:\n\nHi Kevin,\nInstances has a valid name, but through the following command you will see blank value. \nJust try to execute the below two commands and see the difference \n\n1. nova list\n2. nova list --fields Name,Networks\n\nBy this patch fix, you will be able to see the actual instance name for type 2 command you have executed above.","accounts_in_message":[],"_revision_number":1},{"id":"53421dbd6a393a01b816f22795b9303ed7977a7a","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-07-17 19:10:41.000000000","message":"Patch Set 1:\n\nSo, the problem is that the nova API is not returning the instance\u0027s name?","accounts_in_message":[],"_revision_number":1},{"id":"7bd467ebdcdb9b45cb032ab9993bc41e4658547e","author":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"date":"2015-07-20 03:47:58.000000000","message":"Patch Set 1:\n\nNova API is returning the instance name, the problem is with the filter applied to Name field.","accounts_in_message":[],"_revision_number":1},{"id":"c733a32d9e4dac329dac878d5a1cf457980c79b8","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-07-20 15:42:34.000000000","message":"Patch Set 1:\n\nSomething still doesn\u0027t tally for me.  With no filter specified, the get_field() inner function of _make_field_formatter() returns the attribute unchanged.  I think your problem may be due to using the capitalized form \"Name\" as opposed to \"name\"; try using \"name\" and see if you still see the same erroneous behavior.","accounts_in_message":[],"_revision_number":1},{"id":"96231d2b0fdaa4232dca15cb142bc094e2449fdc","author":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"date":"2015-07-21 04:12:42.000000000","message":"Patch Set 1:\n\nHi Kevin, \nYou are right, while using smaller name, i.e nova list --fields name,Networks I can see the results with names printing. \nBut I did not understand how this is different from capital Name. \nCould you please explain me further on this.","accounts_in_message":[],"_revision_number":1},{"id":"e18ac8cbc2337421f800b162788d61e721fb0a5e","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-07-21 15:46:49.000000000","message":"Patch Set 1:\n\nAttribute names are case sensitive.  What you have is the equivalent to \"server.name \u003d \u0027xxx\u0027\"; obviously, \"server.Name\" is undefined.  What gets shown in the output from novaclient is a formatted attribute name; the formatting includes changing the attribute name to \"title case\" (first letter capitalized), among other transformations.\n\nDoes that make sense?","accounts_in_message":[],"_revision_number":1},{"id":"3c4eab75975868e03b23c52fba3807eb56f90c6d","author":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"date":"2015-08-20 09:38:28.000000000","message":"Abandoned\n\nNot a valid fix.\nNot a valid bug.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"55b4966c513c29c942c28d2391eb88fe9b928eaf","revisions":{"55b4966c513c29c942c28d2391eb88fe9b928eaf":{"kind":"REWORK","_number":1,"created":"2015-07-15 11:54:44.000000000","uploader":{"_account_id":11503,"name":"Ritesh Paiboina","email":"rsritesh@rediff.com","username":"rsritesh"},"ref":"refs/changes/62/202062/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/62/202062/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/62/202062/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/62/202062/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/62/202062/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/62/202062/1"}}},"commit":{"parents":[{"commit":"d3afbd65f6a79f22a1ba230d53981ba22830c748","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/d3afbd65f6a79f22a1ba230d53981ba22830c748"}]}],"author":{"name":"rsritesh","email":"rsritesh@rediff.com","date":"2015-07-15 12:00:49.000000000","tz":120},"committer":{"name":"rsritesh","email":"rsritesh@rediff.com","date":"2015-07-15 12:06:57.000000000","tz":120},"subject":"Fix to set value for name using nova list --fields option","message":"Fix to set value for name using nova list --fields option\n\nYou can see blank value for name when you use nova list --fields\nName,Networks.\n\nThis problem persists because name field is considered as a filter\nformatter. This was not working when rendering the name in print\nlist function of utility file.\n\nChange-Id: I7e0ef23d23488e4ac0282184f759ea5a1bdf6dc0\nCloses-Bug: #1473399\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/55b4966c513c29c942c28d2391eb88fe9b928eaf"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/55b4966c513c29c942c28d2391eb88fe9b928eaf"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
