)]}'
{"id":"openstack%2Fpython-openstackclient~123508","triplet_id":"openstack%2Fpython-openstackclient~master~I2959fe68aef57434c87c96a03e350e359f2e2dd0","project":"openstack/python-openstackclient","branch":"master","topic":"export-import-auth","hashtags":[],"change_id":"I2959fe68aef57434c87c96a03e350e359f2e2dd0","subject":"[WIP] Allow export and reuse of Token and Endpoint URLS","status":"ABANDONED","created":"2014-09-23 16:42:29.000000000","updated":"2015-06-09 23:38:16.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"38946ba0cf1a35939648eaa905103b2a3b0cb3d3","_number":123508,"virtual_id_number":123508,"owner":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},{"value":-1,"date":"2014-09-23 21:00:16.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"}],"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":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"all":[{"value":-1,"date":"2014-09-23 17:47:18.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"}],"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":{"rejected":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"all":[{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"date":"2014-09-23 16:42:53.000000000","_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},{"value":-1,"date":"2014-09-23 16:42:46.000000000","permitted_voting_range":{"min":-1,"max":0},"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"}],"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":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2014-09-23 16:42:53.000000000","updated_by":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"reviewer":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"state":"REVIEWER"},{"updated":"2014-09-23 17:47:18.000000000","updated_by":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"reviewer":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"state":"REVIEWER"},{"updated":"2014-09-23 21:00:16.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"bd9a712df0e3b4e20e42fc69772ebbba4a9950ad","author":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"date":"2014-09-23 16:42:29.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"55bf284ade98a02baac252ef52f0186dfda3df19","author":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"date":"2014-09-23 16:42:46.000000000","message":"Patch Set 1: Workflow-1","accounts_in_message":[],"_revision_number":1},{"id":"d1ce8ea5797004ba8f31cbf6f04d84c36926ed7f","author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"date":"2014-09-23 17:47:18.000000000","message":"Patch Set 1: Code-Review-1\n\nI like this idea, but maybe some other approach. I\u0027m not sure all your requirements, but presumably you will have most environment variables set already.  An example of what you can do with the current CLI:\n\n    (.venv)terry ~/python-openstackclient os token issue -f shell --prefix \u0027export OS_\u0027\n    export OS_expires\u003d\"2014-09-23T21:32:17Z\"\n    export OS_id\u003d\"ffxxxxxxxxxxxxxx\"\n    export OS_project_id\u003d\"3247a56cc30b4a0b9e073b99bec868fd\"\n    export OS_user_id\u003d\"6eb3f85a9ed54fe7915f3c4dc2390193\"\n    (.venv)terry ~/python-openstackclient \n\nMaybe an option to the token issue command?\n\nAnother possible approach:\n\n    (.venv)terry ~/python-openstackclient unset OS_TOKEN\n    (.venv)terry ~/python-openstackclient export OS_TOKEN\u003d$(os token issue -f value -c id)\n    (.venv)terry ~/python-openstackclient env | grep OS_TOK\n    OS_TOKEN\u003d4b84459ccxxf49f6aa8a80eb00e49113\n    (.venv)terry ~/python-openstackclient","accounts_in_message":[],"_revision_number":1},{"id":"ee22369cdfb6485fff2fe0e101db4ff3f05b3d7b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-09-23 21:00:16.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed.  For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures\n\n- gate-python-openstackclient-pep8 http://logs.openstack.org/08/123508/1/check/gate-python-openstackclient-pep8/03cd241 : FAILURE in 2m 09s\n- gate-python-openstackclient-docs http://docs-draft.openstack.org/08/123508/1/check/gate-python-openstackclient-docs/dea4a71/doc/build/html/ : SUCCESS in 2m 11s\n- gate-python-openstackclient-python26 http://logs.openstack.org/08/123508/1/check/gate-python-openstackclient-python26/4f73e72 : SUCCESS in 2m 36s\n- gate-python-openstackclient-python27 http://logs.openstack.org/08/123508/1/check/gate-python-openstackclient-python27/8c5561f : SUCCESS in 2m 06s\n- gate-python-openstackclient-python33 http://logs.openstack.org/08/123508/1/check/gate-python-openstackclient-python33/1bfcb07 : SUCCESS in 3m 17s\n- check-tempest-dsvm-full http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-full/92197fd : SUCCESS in 44m 55s\n- check-tempest-dsvm-postgres-full http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-postgres-full/29a3487 : SUCCESS in 45m 05s\n- check-tempest-dsvm-neutron-full http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-neutron-full/524b656 : SUCCESS in 51m 45s\n- check-tempest-dsvm-neutron-heat-slow http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-neutron-heat-slow/7e9f054 : SUCCESS in 23m 05s\n- check-grenade-dsvm http://logs.openstack.org/08/123508/1/check/check-grenade-dsvm/f70c691 : SUCCESS in 47m 16s\n- check-tempest-dsvm-full-havana http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-full-havana/5641e95 : SUCCESS in 34m 27s (non-voting)\n- check-tempest-dsvm-neutron-havana http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-neutron-havana/cfc0932 : SUCCESS in 36m 43s (non-voting)\n- check-tempest-dsvm-full-icehouse http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-full-icehouse/c7ed5a3 : SUCCESS in 52m 26s\n- check-tempest-dsvm-neutron-icehouse http://logs.openstack.org/08/123508/1/check/check-tempest-dsvm-neutron-icehouse/1544695 : SUCCESS in 54m 45s","accounts_in_message":[],"_revision_number":1},{"id":"68d81d66ddb6ea53b499694cc82075f3a5557111","author":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"date":"2014-11-07 09:55:07.000000000","message":"Patch Set 1:\n\ntoken auth info is one part, the other half which act. complicates this little bit more is that there is inside also catalog of service endpoints it atm it\u0027s expected that when you use token you also use endpoint-url ... (otherwise it would be required to go to keystone anyway and ask for the catalog) ... this is/was just rough poc, the problem for me is it does not works for ex. with neutron client at all (...) so i don\u0027t expect to continue with this myself, at least not soon - though in case of interest/ideas how to proceed ...","accounts_in_message":[],"_revision_number":1},{"id":"3a75259df9070c13e8feef6413b780891826f98e","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2015-06-09 23:38:16.000000000","message":"Abandoned\n\nNo work on this in 9 months, plus it looks like it needs a blueprint and some discussion. Abandoning.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"78ede7e1720e4e7bdf1494b6981e7d30e1ba7d5a","revisions":{"78ede7e1720e4e7bdf1494b6981e7d30e1ba7d5a":{"kind":"REWORK","_number":1,"created":"2014-09-23 16:42:29.000000000","uploader":{"_account_id":6683,"name":"Pavel Sedlák","email":"psedlak@redhat.com","username":"psedlak"},"ref":"refs/changes/08/123508/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/08/123508/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/08/123508/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/08/123508/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/08/123508/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/08/123508/1"}}},"commit":{"parents":[{"commit":"ffe976ce3edf2e4dc5dd50247a182ca690b4fdd9","subject":"Use oslo.utils","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/ffe976ce3edf2e4dc5dd50247a182ca690b4fdd9"}]}],"author":{"name":"Pavel Sedlák","email":"psedlak@redhat.com","date":"2014-09-23 16:34:45.000000000","tz":120},"committer":{"name":"Pavel Sedlák","email":"psedlak@redhat.com","date":"2014-09-23 16:42:10.000000000","tz":120},"subject":"[WIP] Allow export and reuse of Token and Endpoint URLS","message":"[WIP] Allow export and reuse of Token and Endpoint URLS\n\nAdd function which allows usage of OpenStack client\nwhere token and catalog is obtained once, then reused for\nsubsequent commands.\n\nBy adding \u0027export auth\u0027 action, which has output\nlike \u0027export OS_TOKEN\u003d\"...\"; export OS_URL\u003d\"...\"\u0027\nso it can be sourced to current shell.\n\nTo handle multiple service-type endpoints\nit uses OS_\u003ctype\u003dCOMPUTE,IDENTITY,...\u003e_URL variables.\n\nExample usage could be:\n\u003e source my_user_creds\n\u003e eval $(openstack export auth)  # uses auth_url+user+pass+...\n\u003e openstack network list  # uses token+endpoint_url\n\u003e openstack volume list  # uses token+endpoint_url\n\u003e ...\n\nChange-Id: I2959fe68aef57434c87c96a03e350e359f2e2dd0\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/78ede7e1720e4e7bdf1494b6981e7d30e1ba7d5a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/78ede7e1720e4e7bdf1494b6981e7d30e1ba7d5a"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
