)]}'
{"id":"openstack%2Fpython-novaclient~170399","triplet_id":"openstack%2Fpython-novaclient~master~Ie96283f6ff892ae30485722cf7c3ec40f3f1b5df","project":"openstack/python-novaclient","branch":"master","topic":"bug/1419859","hashtags":[],"change_id":"Ie96283f6ff892ae30485722cf7c3ec40f3f1b5df","subject":"Handle binary userdata files such as gzip","status":"MERGED","created":"2015-04-03 09:03:28.000000000","updated":"2015-04-23 11:41:04.000000000","submitted":"2015-04-23 11:41:01.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":5,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"c3c8eb97d9ee004a3bf080bf78f35b5ca2951018","_number":170399,"virtual_id_number":170399,"owner":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"date":"2015-04-03 21:44:02.000000000","_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},{"value":2,"date":"2015-04-23 11:41:01.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":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"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":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2015-04-03 21:43:56.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-04-03 23:21:15.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},{"value":2,"date":"2015-04-23 10:43:09.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"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":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},{"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":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},{"value":1,"date":"2015-04-23 10:43:09.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},{"value":0,"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},{"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":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"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":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},{"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-04-03 14:56:23.000000000","updated_by":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"reviewer":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"state":"REVIEWER"},{"updated":"2015-04-03 21:43:56.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-04-03 23:21:15.000000000","updated_by":{"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},"reviewer":{"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},"state":"REVIEWER"},{"updated":"2015-04-23 10:43:09.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":"2015-04-23 11:41:01.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"cd38ddbcf37c3ee55da520652a10e54fc0ee6f3a","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 09:03:28.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"c03cc3586b6dfe09c77287935dd70a16486408e9","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 09:19:31.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"e0d22a1be20cc2bde04f06cb8b4ad093008ba7d5","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-03 10:10:16.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/99/170399/2/check/gate-python-novaclient-python26/e160cf2/ : SUCCESS in 1m 15s\n- gate-python-novaclient-pep8 http://logs.openstack.org/99/170399/2/check/gate-python-novaclient-pep8/fdded49/ : SUCCESS in 58s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/99/170399/2/check/gate-python-novaclient-docs/b496689//doc/build/html/ : SUCCESS in 1m 00s\n- gate-python-novaclient-python27 http://logs.openstack.org/99/170399/2/check/gate-python-novaclient-python27/bb00073/ : SUCCESS in 1m 31s\n- gate-python-novaclient-python34 http://logs.openstack.org/99/170399/2/check/gate-python-novaclient-python34/c7cea87/ : SUCCESS in 3m 44s\n- gate-tempest-dsvm-neutron-src-python-novaclient-icehouse http://logs.openstack.org/99/170399/2/check/gate-tempest-dsvm-neutron-src-python-novaclient-icehouse/c321d64/ : SUCCESS in 36m 02s\n- gate-tempest-dsvm-neutron-src-python-novaclient-juno http://logs.openstack.org/99/170399/2/check/gate-tempest-dsvm-neutron-src-python-novaclient-juno/94afa95/ : SUCCESS in 43m 34s\n- gate-python-novaclient-pypy http://logs.openstack.org/99/170399/2/check/gate-python-novaclient-pypy/24b4c7d/ : SUCCESS in 2m 12s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/99/170399/2/check/gate-tempest-dsvm-neutron-src-python-novaclient/e77b853/ : SUCCESS in 50m 42s\n- check-novaclient-dsvm-functional http://logs.openstack.org/99/170399/2/check/check-novaclient-dsvm-functional/b231d24/ : SUCCESS in 19m 08s","accounts_in_message":[],"_revision_number":2},{"id":"ee2c578cf48dd77e02faebb16113d9ddadfac973","author":{"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},"date":"2015-04-03 10:40:28.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"660e2a008361a7d158270fabc38c758901fe32ce","author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"date":"2015-04-03 14:56:23.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"efd39de1ff15a5096c4fd5bd444eba3fadbb4741","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-04-03 15:34:56.000000000","message":"Patch Set 2:\n\n(1 comment)\n\nThis user data transfer stuff seems to me to be getting ever more complicated and hard for a user to deal with.  I wonder if our interface for this is too complex?","accounts_in_message":[],"_revision_number":2},{"id":"090e3fc6760d0e4eff940ead47fce2b66cda6b01","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 18:54:19.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"31e077e8ac17be54657634e0dc008b08d4298b94","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-04-03 19:52:33.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"9dd602e4b3021e6b3ef7608efbb6dab06ec67b7b","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 20:40:57.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"e84158d80939420812525afd41dea9996d5f2e19","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 21:09:50.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"991f85a0691fd970bbae107ec0d62ac23fd1bb40","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2015-04-03 21:43:56.000000000","message":"Patch Set 3: Code-Review+2\n\nCool, thanks :)","accounts_in_message":[],"_revision_number":3},{"id":"11afefc47d21d20bc1c045f684d7d3e6f4412522","author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"date":"2015-04-03 21:44:02.000000000","message":"Patch Set 3:\n\n@Kevin, To your earlier comment I forgot to respond, being new to the userdata transfer in novaclient I found it mysterious and complicated. But I tried adding a note explaining what I learned, which is that we\u0027re encoding to binary, then encoding base64 on behalf of the user where nova api will base64 decode it.\n\nIt doesn\u0027t seem *too* complex to me now that I understand it. At the same time it would be a lot simpler if we just passed userdata along and have users prepare it, base64 encode it first before running the CLI command or make the library call.","accounts_in_message":[],"_revision_number":3},{"id":"8e6b72649ab39074de59dd722c7fe056d51e7719","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-03 22:15:30.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/99/170399/3/check/gate-python-novaclient-python26/79eddee/ : SUCCESS in 1m 17s\n- gate-python-novaclient-pep8 http://logs.openstack.org/99/170399/3/check/gate-python-novaclient-pep8/9f4bf58/ : SUCCESS in 54s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/99/170399/3/check/gate-python-novaclient-docs/d7151c7//doc/build/html/ : SUCCESS in 1m 10s\n- gate-python-novaclient-python27 http://logs.openstack.org/99/170399/3/check/gate-python-novaclient-python27/9563844/ : SUCCESS in 1m 53s\n- gate-python-novaclient-python34 http://logs.openstack.org/99/170399/3/check/gate-python-novaclient-python34/8d9b48f/ : SUCCESS in 3m 30s\n- gate-tempest-dsvm-neutron-src-python-novaclient-icehouse http://logs.openstack.org/99/170399/3/check/gate-tempest-dsvm-neutron-src-python-novaclient-icehouse/1e44dff/ : SUCCESS in 26m 33s\n- gate-tempest-dsvm-neutron-src-python-novaclient-juno http://logs.openstack.org/99/170399/3/check/gate-tempest-dsvm-neutron-src-python-novaclient-juno/2dac8ca/ : SUCCESS in 43m 51s\n- gate-python-novaclient-pypy http://logs.openstack.org/99/170399/3/check/gate-python-novaclient-pypy/1d7e22a/ : SUCCESS in 2m 21s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/99/170399/3/check/gate-tempest-dsvm-neutron-src-python-novaclient/3ab294b/ : SUCCESS in 1h 01m 49s\n- check-novaclient-dsvm-functional http://logs.openstack.org/99/170399/3/check/check-novaclient-dsvm-functional/33acf21/ : SUCCESS in 19m 47s","accounts_in_message":[],"_revision_number":3},{"id":"87c222ebb1531eb0abb7b76fc5951ad07acad8ce","author":{"_account_id":14027,"name":"Michal Rostecki","email":"mrostecki@suse.de","username":"mrostecki"},"date":"2015-04-03 23:21:15.000000000","message":"Patch Set 3: Code-Review+1","accounts_in_message":[],"_revision_number":3},{"id":"a4ef3a93fe432d3157435cf54b7856d08ec02814","author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"date":"2015-04-23 10:43:09.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":3},{"id":"38f01009519c79841bc0e5e4f25171b966fe1304","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-23 10:43:14.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":3},{"id":"f1debb401e1802277143aaacf136ed9a63dcc2b8","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-23 11:41:01.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-novaclient-python26 http://logs.openstack.org/99/170399/3/gate/gate-python-novaclient-python26/2c59fc3/ : SUCCESS in 1m 39s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/99/170399/3/gate/gate-python-novaclient-docs/fc3c017//doc/build/html/ : SUCCESS in 50s\n- gate-python-novaclient-pep8 http://logs.openstack.org/99/170399/3/gate/gate-python-novaclient-pep8/a0cae9e/ : SUCCESS in 45s\n- gate-python-novaclient-python27 http://logs.openstack.org/99/170399/3/gate/gate-python-novaclient-python27/43a4826/ : SUCCESS in 1m 17s\n- gate-python-novaclient-python34 http://logs.openstack.org/99/170399/3/gate/gate-python-novaclient-python34/b3de47d/ : SUCCESS in 3m 41s\n- gate-python-novaclient-pypy http://logs.openstack.org/99/170399/3/gate/gate-python-novaclient-pypy/409b0bb/ : SUCCESS in 1m 55s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/99/170399/3/gate/gate-tempest-dsvm-neutron-src-python-novaclient/8990d27/ : SUCCESS in 56m 27s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/99/170399/3/gate/gate-novaclient-dsvm-functional/ed9a4f7/ : SUCCESS in 17m 00s","accounts_in_message":[],"_revision_number":3},{"id":"0bedd1a69aac26d11029317c4065072898fd2aaf","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-23 11:41:04.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"19d4d35a4e87598f2ec0115753b147552870ceb7","revisions":{"c6c8b48f25cfc85b4d300ac231c4b790f7816c22":{"kind":"REWORK","_number":1,"created":"2015-04-03 09:03:28.000000000","uploader":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"ref":"refs/changes/99/170399/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/99/170399/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/1"}}},"commit":{"parents":[{"commit":"3681c186f784b0b64f871050a0dfdb3b1bed37b8","subject":"Merge \"Combine test cases for checking nova limits response\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/3681c186f784b0b64f871050a0dfdb3b1bed37b8"}]}],"author":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 08:52:42.000000000","tz":0},"committer":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 09:02:52.000000000","tz":0},"subject":"Handle binary userdata files such as gzip","message":"Handle binary userdata files such as gzip\n\nThe current code in the servers api assumes only text files will be\nprovided as userdata. That is, the data is utf-8 encoded before it\nis base64 encoded and sent. This breaks for binary userdata files,\n(example, gzip files) as they can\u0027t be utf-8 encoded.\n\nThis change ignores specifically the exceptions that are raised\nwhen utf-8 encoding is attempted on non-text data: AttributeError\nand UnicodeDecodeError. These exceptions will be ignored to let\nbinary files proceed to the base64 encoding step.\n\nCloses-Bug: #1419859\n\nChange-Id: Ie96283f6ff892ae30485722cf7c3ec40f3f1b5df\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/c6c8b48f25cfc85b4d300ac231c4b790f7816c22"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/c6c8b48f25cfc85b4d300ac231c4b790f7816c22"}]},"branch":"refs/heads/master"},"0c80ec5e860ee4ecd666e9f5c1a179a920ccb52c":{"kind":"REWORK","_number":2,"created":"2015-04-03 09:19:31.000000000","uploader":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"ref":"refs/changes/99/170399/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/99/170399/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/2"}}},"commit":{"parents":[{"commit":"3681c186f784b0b64f871050a0dfdb3b1bed37b8","subject":"Merge \"Combine test cases for checking nova limits response\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/3681c186f784b0b64f871050a0dfdb3b1bed37b8"}]}],"author":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 08:52:42.000000000","tz":0},"committer":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 09:10:38.000000000","tz":0},"subject":"Handle binary userdata files such as gzip","message":"Handle binary userdata files such as gzip\n\nThe current code in the servers api assumes only text files will be\nprovided as userdata. That is, the data is utf-8 encoded before it\nis base64 encoded and sent. This breaks for binary userdata files,\n(example, gzip files) as they can\u0027t be utf-8 encoded.\n\nThis change ignores specifically the exceptions that are raised\nwhen utf-8 encoding is attempted on non-text data: AttributeError\nand UnicodeDecodeError. These exceptions will be ignored to let\nbinary files proceed to the base64 encoding step.\n\nCloses-Bug: #1419859\n\nChange-Id: Ie96283f6ff892ae30485722cf7c3ec40f3f1b5df\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0c80ec5e860ee4ecd666e9f5c1a179a920ccb52c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0c80ec5e860ee4ecd666e9f5c1a179a920ccb52c"}]},"branch":"refs/heads/master"},"19d4d35a4e87598f2ec0115753b147552870ceb7":{"kind":"REWORK","_number":3,"created":"2015-04-03 21:09:50.000000000","uploader":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"ref":"refs/changes/99/170399/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/99/170399/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/99/170399/3"}}},"commit":{"parents":[{"commit":"3681c186f784b0b64f871050a0dfdb3b1bed37b8","subject":"Merge \"Combine test cases for checking nova limits response\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/3681c186f784b0b64f871050a0dfdb3b1bed37b8"}]}],"author":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 08:52:42.000000000","tz":0},"committer":{"name":"melanie witt","email":"melwitt@yahoo-inc.com","date":"2015-04-03 21:09:10.000000000","tz":0},"subject":"Handle binary userdata files such as gzip","message":"Handle binary userdata files such as gzip\n\nThe current code in the servers api assumes only text files will be\nprovided as userdata. That is, the data is utf-8 encoded before it\nis base64 encoded and sent. This breaks for binary userdata files,\n(example, gzip files) as they can\u0027t be utf-8 encoded.\n\nThis change ignores specifically the exceptions that are raised\nwhen utf-8 encoding is attempted on non-text data: AttributeError\nand UnicodeDecodeError. These exceptions will be ignored to let\nbinary files proceed to the base64 encoding step.\n\nCloses-Bug: #1419859\n\nChange-Id: Ie96283f6ff892ae30485722cf7c3ec40f3f1b5df\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/19d4d35a4e87598f2ec0115753b147552870ceb7"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/19d4d35a4e87598f2ec0115753b147552870ceb7"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
