)]}'
{"id":"openstack%2Fpython-neutronclient~267020","triplet_id":"openstack%2Fpython-neutronclient~master~Ib807614199392aecf0a8f9b36da4d63ea062262d","project":"openstack/python-neutronclient","branch":"master","topic":"bug/1450414v2","hashtags":[],"change_id":"Ib807614199392aecf0a8f9b36da4d63ea062262d","subject":"fix: can\u0027t get authentication with os-token and os-url (long term fix)","status":"ABANDONED","created":"2016-01-13 16:41:26.000000000","updated":"2017-04-16 10:36:14.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"9ada874a32fce94939f2a5da523dd33d824bd677","_number":267020,"virtual_id_number":267020,"owner":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},{"value":1,"date":"2016-01-13 23:57:14.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"}],"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":{"disliked":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":-1,"date":"2016-01-19 06:58:30.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"}],"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":0},"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-01-13 23:57:14.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2016-01-19 06:58:30.000000000","updated_by":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"reviewer":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"state":"REVIEWER"}],"messages":[{"id":"742a6456941c3dc9ee597fe1767cc07063ecb58a","author":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"date":"2016-01-13 16:41:26.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"2a901e2ddf78f76849416dba807d19658b0eecba","author":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"date":"2016-01-13 16:51:51.000000000","message":"Patch Set 1:\n\nTried to create a functional test for this use case but that proved difficult to me since it requires testing authentication through a dynamic token. It\u0027s still underway.","accounts_in_message":[],"_revision_number":1},{"id":"7100050043db1557f14c24461cc290d74090e922","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-13 19:51:25.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-neutronclient-pep8 http://logs.openstack.org/20/267020/1/check/gate-python-neutronclient-pep8/2b2dbda/ : FAILURE in 1m 09s\n- gate-python-neutronclient-docs http://docs-draft.openstack.org/20/267020/1/check/gate-python-neutronclient-docs/0a8697b//doc/build/html/ : SUCCESS in 1m 14s\n- gate-python-neutronclient-python27 http://logs.openstack.org/20/267020/1/check/gate-python-neutronclient-python27/5372a66/ : SUCCESS in 2m 24s\n- gate-python-neutronclient-python34 http://logs.openstack.org/20/267020/1/check/gate-python-neutronclient-python34/4ebb549/ : SUCCESS in 1m 35s\n- gate-python-neutronclient-pypy http://logs.openstack.org/20/267020/1/check/gate-python-neutronclient-pypy/1e8509f/ : SUCCESS in 2m 06s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-neutronclient http://logs.openstack.org/20/267020/1/check/gate-tempest-dsvm-neutron-src-python-neutronclient/cac02f8/ : SUCCESS in 54m 38s\n- gate-neutronclient-test-dsvm-functional http://logs.openstack.org/20/267020/1/check/gate-neutronclient-test-dsvm-functional/0ccd569/ : SUCCESS in 22m 43s\n- gate-neutronclient-test-dsvm-functional-adv-svcs http://logs.openstack.org/20/267020/1/check/gate-neutronclient-test-dsvm-functional-adv-svcs/43a6bf9/ : SUCCESS in 22m 53s","accounts_in_message":[],"_revision_number":1},{"id":"3b5ee6834c7663741d776360b7c607f84c3e2497","author":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"date":"2016-01-13 20:32:53.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"578d7f4c192e8d93e3f0f103af316f020d3dbe88","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-13 22:26:42.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-neutronclient-pep8 http://logs.openstack.org/20/267020/2/check/gate-python-neutronclient-pep8/f85cc6e/ : FAILURE in 1m 14s\n- gate-python-neutronclient-docs http://docs-draft.openstack.org/20/267020/2/check/gate-python-neutronclient-docs/018fc88//doc/build/html/ : SUCCESS in 1m 12s\n- gate-python-neutronclient-python27 http://logs.openstack.org/20/267020/2/check/gate-python-neutronclient-python27/f6af64a/ : SUCCESS in 1m 47s\n- gate-python-neutronclient-python34 http://logs.openstack.org/20/267020/2/check/gate-python-neutronclient-python34/a016431/ : SUCCESS in 1m 41s\n- gate-python-neutronclient-pypy http://logs.openstack.org/20/267020/2/check/gate-python-neutronclient-pypy/9ff19e8/ : SUCCESS in 1m 52s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-neutronclient http://logs.openstack.org/20/267020/2/check/gate-tempest-dsvm-neutron-src-python-neutronclient/51ebfd8/ : SUCCESS in 54m 47s\n- gate-neutronclient-test-dsvm-functional http://logs.openstack.org/20/267020/2/check/gate-neutronclient-test-dsvm-functional/df1cd26/ : SUCCESS in 22m 52s\n- gate-neutronclient-test-dsvm-functional-adv-svcs http://logs.openstack.org/20/267020/2/check/gate-neutronclient-test-dsvm-functional-adv-svcs/d7ddabd/ : SUCCESS in 28m 26s","accounts_in_message":[],"_revision_number":2},{"id":"e689c9eeaed1ecf8b1be418bb91d2a9580981c5e","author":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"date":"2016-01-13 22:42:53.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"8d0a5b25370c512f722d7e605b5af8e0f4bee7ed","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-13 23:57:14.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-neutronclient-pep8 http://logs.openstack.org/20/267020/3/check/gate-python-neutronclient-pep8/15c3b9f/ : SUCCESS in 1m 14s\n- gate-python-neutronclient-docs http://docs-draft.openstack.org/20/267020/3/check/gate-python-neutronclient-docs/66a79d7//doc/build/html/ : SUCCESS in 1m 15s\n- gate-python-neutronclient-python27 http://logs.openstack.org/20/267020/3/check/gate-python-neutronclient-python27/88f92d1/ : SUCCESS in 2m 19s\n- gate-python-neutronclient-python34 http://logs.openstack.org/20/267020/3/check/gate-python-neutronclient-python34/0f9afc7/ : SUCCESS in 1m 31s\n- gate-python-neutronclient-pypy http://logs.openstack.org/20/267020/3/check/gate-python-neutronclient-pypy/3a698f8/ : SUCCESS in 1m 48s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-neutronclient http://logs.openstack.org/20/267020/3/check/gate-tempest-dsvm-neutron-src-python-neutronclient/d0f42f7/ : SUCCESS in 1h 01m 05s\n- gate-neutronclient-test-dsvm-functional http://logs.openstack.org/20/267020/3/check/gate-neutronclient-test-dsvm-functional/42f371d/ : SUCCESS in 22m 16s\n- gate-neutronclient-test-dsvm-functional-adv-svcs http://logs.openstack.org/20/267020/3/check/gate-neutronclient-test-dsvm-functional-adv-svcs/c6bdc29/ : SUCCESS in 34m 28s","accounts_in_message":[],"_revision_number":3},{"id":"6eb7f670c543194e680cb64975deacc371492d0b","author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"date":"2016-01-19 06:58:30.000000000","message":"Patch Set 3: Code-Review-1\n\nThis patch is creating a custom SessionClient.\nAt least, we need to prepare Token keystone auth plugin in shell.py.\nBy doing so, we don\u0027t need a custom SessionClient.\nIt is what novaclient did.\n\nMore modern approach is to use keystoneauth auth plugin loader (bug 1408961 is the related bug).\nos-client-config is trying to provider more elegant integration with keystoneauth1, but it is ongoing.\n\nIMO, the way we should go is to use keystoneauth more to detelct os-token and os-url.\nIt is what novaclient does now.\nThe ideal way is to leverage and improve (if necessary) os-client-config.","accounts_in_message":[],"_revision_number":3},{"id":"ca66bbd151ece27d4b8d3f88c9972e29769d9d20","author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"date":"2016-01-19 07:02:27.000000000","message":"Patch Set 3:\n\nAt least, the patch http://paste.openstack.org/show/484238/ works as far as I tested.\n\nHowever, \u0027token\u0027 auth plugin seems better.\nWhen I tested it did not work, but I haven\u0027t investigated the detail.","accounts_in_message":[],"_revision_number":3},{"id":"13ce8354ace95e3277c6587c5eb4d478b6313ade","author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"date":"2017-04-16 10:36:14.000000000","message":"Abandoned\n\nPlease address this issue in the openstackclient (if it\u0027s not already fixed there). The neutronclient is deprecated.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"25384b02332bdcc2a5330cb887b7fbe61852402f","revisions":{"bd37626f63bcfaec50309ac7a255416b4214987f":{"kind":"REWORK","_number":1,"created":"2016-01-13 16:41:26.000000000","uploader":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"ref":"refs/changes/20/267020/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-neutronclient","ref":"refs/changes/20/267020/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/1"}}},"commit":{"parents":[{"commit":"0065371c2ce139c30ab4d2d1a517bb10ca408940","subject":"Merge \"Convert remaining use of neutronclient.i18n to _i18n\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/0065371c2ce139c30ab4d2d1a517bb10ca408940"}]}],"author":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 16:30:04.000000000","tz":-360},"committer":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 16:30:04.000000000","tz":-360},"subject":"fix: can\u0027t get authentication with os-token and os-url (long term fix)","message":"fix: can\u0027t get authentication with os-token and os-url (long term fix)\n\nCurrently, there is no way to authenticate a user through Neutron CLI\nby just using endpoint and token authentication. This fix will move some\nof the needed functionality into SessionClient so that this feature is supported.\nThere is another fix https://review.openstack.org/#/c/263337 for a similar purpose\nbut would only be a temporary solution.\n\nChange-Id: Ib807614199392aecf0a8f9b36da4d63ea062262d\nCloses-Bug: #1450414\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/bd37626f63bcfaec50309ac7a255416b4214987f"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/bd37626f63bcfaec50309ac7a255416b4214987f"}]},"branch":"refs/heads/master"},"5cd119ddac75d91161351504189d374ebbff20ba":{"kind":"REWORK","_number":2,"created":"2016-01-13 20:32:53.000000000","uploader":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"ref":"refs/changes/20/267020/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-neutronclient","ref":"refs/changes/20/267020/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/2"}}},"commit":{"parents":[{"commit":"0065371c2ce139c30ab4d2d1a517bb10ca408940","subject":"Merge \"Convert remaining use of neutronclient.i18n to _i18n\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/0065371c2ce139c30ab4d2d1a517bb10ca408940"}]}],"author":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 16:30:04.000000000","tz":-360},"committer":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 20:31:28.000000000","tz":-360},"subject":"fix: can\u0027t get authentication with os-token and os-url (long term fix)","message":"fix: can\u0027t get authentication with os-token and os-url (long term fix)\n\nCurrently, there is no way to authenticate a user through Neutron CLI\nby just using endpoint and token authentication. This fix will move some\nof the needed functionality into SessionClient so that this feature\nis supported. There is another fix https://review.openstack.org/#/c/263337\nfor a similar purpose but would only be a temporary solution.\n\nChange-Id: Ib807614199392aecf0a8f9b36da4d63ea062262d\nCloses-Bug: #1450414\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/5cd119ddac75d91161351504189d374ebbff20ba"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/5cd119ddac75d91161351504189d374ebbff20ba"}]},"branch":"refs/heads/master"},"25384b02332bdcc2a5330cb887b7fbe61852402f":{"kind":"REWORK","_number":3,"created":"2016-01-13 22:42:53.000000000","uploader":{"_account_id":18658,"name":"Jas Singh","email":"singhj@us.ibm.com","username":"singhj"},"ref":"refs/changes/20/267020/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-neutronclient","ref":"refs/changes/20/267020/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-neutronclient refs/changes/20/267020/3"}}},"commit":{"parents":[{"commit":"0065371c2ce139c30ab4d2d1a517bb10ca408940","subject":"Merge \"Convert remaining use of neutronclient.i18n to _i18n\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/0065371c2ce139c30ab4d2d1a517bb10ca408940"}]}],"author":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 16:30:04.000000000","tz":-360},"committer":{"name":"Jas","email":"singhj@us.ibm.com","date":"2016-01-13 22:42:08.000000000","tz":-360},"subject":"fix: can\u0027t get authentication with os-token and os-url (long term fix)","message":"fix: can\u0027t get authentication with os-token and os-url (long term fix)\n\nCurrently, there is no way to authenticate a user through Neutron CLI\nby just using endpoint and token authentication. This fix will move some\nof the needed functionality into SessionClient so that this feature\nis supported. There is another fix https://review.openstack.org/#/c/263337\nfor a similar purpose but would only be a temporary solution.\n\nChange-Id: Ib807614199392aecf0a8f9b36da4d63ea062262d\nCloses-Bug: #1450414\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/25384b02332bdcc2a5330cb887b7fbe61852402f"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-neutronclient/commit/25384b02332bdcc2a5330cb887b7fbe61852402f"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
