)]}'
{"id":"openstack%2Fpython-glanceclient~494160","triplet_id":"openstack%2Fpython-glanceclient~master~I4de4be7a55f35c3533b53acd48042c7c95b4bdc0","project":"openstack/python-glanceclient","branch":"master","topic":"bug/1711090","hashtags":[],"change_id":"I4de4be7a55f35c3533b53acd48042c7c95b4bdc0","subject":"stage call fails with TypeError","status":"MERGED","created":"2017-08-16 10:44:49.000000000","updated":"2017-08-21 19:37:02.000000000","submitted":"2017-08-21 12:23:37.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":4,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"a89fbb6c7cb85bee914d57d4e7807a52b57df1bd","_number":494160,"virtual_id_number":494160,"owner":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":0,"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"value":2,"date":"2017-08-21 12:23:37.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"}],"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":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"recommended":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"all":[{"value":1,"date":"2017-08-19 19:27:21.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":2,"date":"2017-08-17 13:17:04.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":2,"date":"2017-08-21 10:54:49.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"}],"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":{"approved":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":1,"date":"2017-08-21 10:54:49.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":0,"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"}],"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":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2017-08-17 13:17:04.000000000","updated_by":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"reviewer":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"state":"REVIEWER"},{"updated":"2017-08-19 19:27:21.000000000","updated_by":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"reviewer":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"state":"REVIEWER"},{"updated":"2017-08-21 10:54:49.000000000","updated_by":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"reviewer":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"state":"REVIEWER"},{"updated":"2017-08-21 12:23:37.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"aa6c9d7183e4f6ba3c3ce1ba8bfa1a042c41a817","author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"date":"2017-08-16 10:44:49.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d5127b0666c4a50aaa855bea44d3ff0680fc4166","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-08-16 13:05:26.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-docs-ubuntu-xenial http://docs-draft.openstack.org/60/494160/1/check/gate-python-glanceclient-docs-ubuntu-xenial/e5aa51e//doc/build/html/ : SUCCESS in 3m 32s\n- gate-python-glanceclient-pep8-ubuntu-xenial http://logs.openstack.org/60/494160/1/check/gate-python-glanceclient-pep8-ubuntu-xenial/2ad96c4/ : SUCCESS in 5m 22s\n- gate-python-glanceclient-python27-ubuntu-xenial http://logs.openstack.org/60/494160/1/check/gate-python-glanceclient-python27-ubuntu-xenial/ebab778/ : SUCCESS in 4m 04s\n- gate-python-glanceclient-python35 http://logs.openstack.org/60/494160/1/check/gate-python-glanceclient-python35/2c104b2/ : SUCCESS in 4m 10s\n- gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial http://logs.openstack.org/60/494160/1/check/gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial/ad05535/ : SUCCESS in 1h 14m 03s\n- gate-glanceclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/60/494160/1/check/gate-glanceclient-dsvm-functional-ubuntu-xenial/9c47361/ : SUCCESS in 24m 39s\n- gate-glanceclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/60/494160/1/check/gate-glanceclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/448357f/ : FAILURE in 22m 02s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"10a6be0ad04052933f5ae50e5dcc129359f76f93","author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"date":"2017-08-17 02:36:38.000000000","message":"Patch Set 1: Code-Review+1\n\n(2 comments)\n\nVerified that this works.  Two suggestions inline.","accounts_in_message":[],"_revision_number":1},{"id":"26870a6b3b086a8a5ad4a47e712a7b154b4ca218","author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"date":"2017-08-17 06:08:43.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"1f1cee810b5e2650a787e4a39d37c7b57bfa7c3f","author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"date":"2017-08-17 06:09:08.000000000","message":"Patch Set 1:\n\n(2 comments)\n\nHi Brian,\n\nThank you for review, I have made changes as per your suggestion.","accounts_in_message":[],"_revision_number":1},{"id":"c472b19a1f4c834fa9028d0637970db932ec3733","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-08-17 07:46:56.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-docs-ubuntu-xenial http://docs-draft.openstack.org/60/494160/2/check/gate-python-glanceclient-docs-ubuntu-xenial/ba578f2//doc/build/html/ : SUCCESS in 3m 59s\n- gate-python-glanceclient-pep8-ubuntu-xenial http://logs.openstack.org/60/494160/2/check/gate-python-glanceclient-pep8-ubuntu-xenial/3e0a75c/ : SUCCESS in 5m 25s\n- gate-python-glanceclient-python27-ubuntu-xenial http://logs.openstack.org/60/494160/2/check/gate-python-glanceclient-python27-ubuntu-xenial/fe45a09/ : SUCCESS in 4m 22s\n- gate-python-glanceclient-python35 http://logs.openstack.org/60/494160/2/check/gate-python-glanceclient-python35/fb0ef62/ : SUCCESS in 4m 36s\n- gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial http://logs.openstack.org/60/494160/2/check/gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial/02d7bad/ : SUCCESS in 1h 37m 31s\n- gate-glanceclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/60/494160/2/check/gate-glanceclient-dsvm-functional-ubuntu-xenial/ea0d3bb/ : SUCCESS in 27m 40s\n- gate-glanceclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/60/494160/2/check/gate-glanceclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/a8c1b69/ : FAILURE in 26m 52s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"72cb718c6a137fc87832d9fc3a091f51365d5950","author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"date":"2017-08-17 13:17:04.000000000","message":"Patch Set 2: Code-Review+2\n\nThanks for catching this Abhishek.  You are definitely the expert on wrapping in the glanceclient!","accounts_in_message":[],"_revision_number":2},{"id":"76b7d0cb98e2139b24029b910b31f83f5970f670","author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"date":"2017-08-19 19:27:21.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"220ab5e61e7c8cb2b4a7ba547ef6aebfc4e68bb4","author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"date":"2017-08-21 10:54:49.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1\n\nI\u0027m starting to dislike the req_id wrappings ;)\n\nNice catch Abhishek and thanks for your expertise to fix this.","accounts_in_message":[],"_revision_number":2},{"id":"567c5704ac597bb345f990a6ab38bcc262032f66","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-08-21 10:54:59.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"5d0660f60bf73fdffc56c1ca97bef672114a6fd0","date":"2017-08-21 12:23:37.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":2},{"id":"5a232f8246bb35de60e7ec4a8d5c468bbe365118","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-08-21 12:23:37.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-glanceclient-docs-ubuntu-xenial http://docs-draft.openstack.org/60/494160/2/gate/gate-python-glanceclient-docs-ubuntu-xenial/d069bb2//doc/build/html/ : SUCCESS in 3m 42s\n- gate-python-glanceclient-pep8-ubuntu-xenial http://logs.openstack.org/60/494160/2/gate/gate-python-glanceclient-pep8-ubuntu-xenial/874626c/ : SUCCESS in 4m 19s\n- gate-python-glanceclient-python27-ubuntu-xenial http://logs.openstack.org/60/494160/2/gate/gate-python-glanceclient-python27-ubuntu-xenial/0e11513/ : SUCCESS in 4m 07s\n- gate-python-glanceclient-python35 http://logs.openstack.org/60/494160/2/gate/gate-python-glanceclient-python35/389cb02/ : SUCCESS in 3m 45s\n- gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial http://logs.openstack.org/60/494160/2/gate/gate-tempest-dsvm-neutron-src-python-glanceclient-ubuntu-xenial/ef26d89/ : SUCCESS in 1h 27m 28s\n- gate-glanceclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/60/494160/2/gate/gate-glanceclient-dsvm-functional-ubuntu-xenial/84b8bbf/ : SUCCESS in 30m 30s","accounts_in_message":[],"_revision_number":2},{"id":"059b001d2e150597860b305c3d9450825e95d92f","author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"date":"2017-08-21 19:37:02.000000000","message":"Patch Set 2: Cherry Picked\n\nThis patchset was cherry picked to branch stable/pike as commit f7ce62b08901b16c472cc4ec84831f2144a55cc6","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"0e50837a374958d2863deef890879c960a05d8aa","revisions":{"169e547425b9294099abf7d1af6d7ab59f42578d":{"kind":"REWORK","_number":1,"created":"2017-08-16 10:44:49.000000000","uploader":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"ref":"refs/changes/60/494160/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/60/494160/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/1"}}},"commit":{"parents":[{"commit":"6fe3018de8564a20865d9350bc942e8e14296d85","subject":"Update reno for stable/pike","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/6fe3018de8564a20865d9350bc942e8e14296d85"}]}],"author":{"name":"Abhishek Kekane","email":"abhishek.kekane@nttdata.com","date":"2017-08-16 10:19:47.000000000","tz":330},"committer":{"name":"Abhishek Kekane","email":"abhishek.kekane@nttdata.com","date":"2017-08-16 10:28:51.000000000","tz":330},"subject":"stage call fails with TypeError","message":"stage call fails with TypeError\n\nimage-stage call fails with TypeError saying \u0027stage() takes exactly\n3 arguments (4 given). The reason is stage() also accepts image_size\nas a argument which is not provided.\n\nFurther it raises \u0027NoneType\u0027 object has no attribute \u0027headers\u0027. The\nreason is stage() internally calls upload method which\nreturns a object of RequestIdWrapper on body (which is None) and\nresponse. In stage call it again tries to add request id which requires\nresponse object but instead it has a RequestIdWrapper which fails to\nretrieve headers.\n\nChange-Id: I4de4be7a55f35c3533b53acd48042c7c95b4bdc0\nCloses-bug: #1711090\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/169e547425b9294099abf7d1af6d7ab59f42578d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/169e547425b9294099abf7d1af6d7ab59f42578d"}]},"branch":"refs/heads/master"},"0e50837a374958d2863deef890879c960a05d8aa":{"kind":"REWORK","_number":2,"created":"2017-08-17 06:08:43.000000000","uploader":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"ref":"refs/changes/60/494160/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/60/494160/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/60/494160/2"}}},"commit":{"parents":[{"commit":"6fe3018de8564a20865d9350bc942e8e14296d85","subject":"Update reno for stable/pike","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/6fe3018de8564a20865d9350bc942e8e14296d85"}]}],"author":{"name":"Abhishek Kekane","email":"abhishek.kekane@nttdata.com","date":"2017-08-16 10:19:47.000000000","tz":330},"committer":{"name":"Abhishek Kekane","email":"abhishek.kekane@nttdata.com","date":"2017-08-17 06:07:20.000000000","tz":330},"subject":"stage call fails with TypeError","message":"stage call fails with TypeError\n\nimage-stage call fails with TypeError saying \u0027stage() takes exactly\n3 arguments (4 given). The reason is stage() also accepts image_size\nas a argument which is not provided.\n\nFurther it raises \u0027NoneType\u0027 object has no attribute \u0027headers\u0027. The\nreason is stage() internally calls upload method which\nreturns a object of RequestIdWrapper on body (which is None) and\nresponse. In stage call it again tries to add request id which requires\nresponse object but instead it has a RequestIdWrapper which fails to\nretrieve headers.\n\nChange-Id: I4de4be7a55f35c3533b53acd48042c7c95b4bdc0\nCloses-bug: #1711090\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/0e50837a374958d2863deef890879c960a05d8aa"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/0e50837a374958d2863deef890879c960a05d8aa"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
