)]}'
{"id":"openstack%2Fpython-glanceclient~219469","triplet_id":"openstack%2Fpython-glanceclient~master~Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e","project":"openstack/python-glanceclient","branch":"master","topic":"bug/1490457","hashtags":[],"change_id":"Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e","subject":"Check if v2 is available and fallback","status":"MERGED","created":"2015-09-01 22:00:54.000000000","updated":"2015-09-08 20:45:53.000000000","submitted":"2015-09-08 20:45:52.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":9,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"3c0126e3b4f5af3325ff8df70662b04b19cc195d","_number":219469,"virtual_id_number":219469,"owner":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"value":2,"date":"2015-09-08 20:45:52.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":0,"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},{"value":0,"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"}],"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":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"all":[{"value":2,"date":"2015-09-08 11:53:33.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":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":2,"date":"2015-09-08 19:46:49.000000000","_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},{"value":0,"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"}],"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":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"all":[{"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":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":1,"date":"2015-09-08 19:46:49.000000000","_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},{"value":0,"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"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":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":0,"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},{"value":0,"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"}],"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":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-09-03 10:39:38.000000000","updated_by":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"reviewer":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"state":"REVIEWER"},{"updated":"2015-09-08 11:53:33.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":"2015-09-08 19:46:49.000000000","updated_by":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"reviewer":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"state":"REVIEWER"},{"updated":"2015-09-08 20:45:52.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"6add207d7d88914755a2e15f87ddb53d74256f76","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-01 22:00:54.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"0b5300a044656487a804e8d825d9297bf1cd0a69","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-01 23:33:31.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-glanceclient-python26 http://logs.openstack.org/69/219469/1/check/gate-python-glanceclient-python26/5f10ee6/ : FAILURE in 1m 10s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/1/check/gate-python-glanceclient-pep8/25fcaf0/ : FAILURE in 1m 09s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/1/check/gate-python-glanceclient-docs/44b32b4//doc/build/html/ : SUCCESS in 1m 32s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/1/check/gate-python-glanceclient-python27/c84e2f6/ : FAILURE in 1m 26s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/1/check/gate-python-glanceclient-python34/ba76bad/ : FAILURE in 1m 43s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/1/check/gate-python-glanceclient-pypy/5bb5dd6/ : FAILURE in 1m 25s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/1/check/gate-tempest-dsvm-neutron-src-python-glanceclient/05cc754/ : SUCCESS in 1h 18m 41s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/1/check/gate-glanceclient-dsvm-functional/2916395/ : SUCCESS in 26m 33s","accounts_in_message":[],"_revision_number":1},{"id":"3c2608bb16129bd73fafb150d9aa3e9914d65d8a","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 07:24:07.000000000","message":"Patch Set 1: Workflow-1\n\nI don\u0027t like this, I\u0027ll work on a cleaner version","accounts_in_message":[],"_revision_number":1},{"id":"8a65e58bbed5c01596987a2763acb12cda9beb17","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 12:23:52.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"653329690d0e00dc503325a335f6eaed3dbde326","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-02 13:49:13.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-glanceclient-python26 http://logs.openstack.org/69/219469/2/check/gate-python-glanceclient-python26/cb6f3f0/ : SUCCESS in 1m 06s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/2/check/gate-python-glanceclient-pep8/c81db4f/ : FAILURE in 1m 31s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/2/check/gate-python-glanceclient-docs/404cf07//doc/build/html/ : SUCCESS in 1m 19s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/2/check/gate-python-glanceclient-python27/0d874d7/ : SUCCESS in 1m 38s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/2/check/gate-python-glanceclient-python34/45c1f22/ : SUCCESS in 1m 44s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/2/check/gate-python-glanceclient-pypy/0075b2e/ : FAILURE in 1m 53s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/2/check/gate-tempest-dsvm-neutron-src-python-glanceclient/c0e1466/ : SUCCESS in 1h 09m 11s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/2/check/gate-glanceclient-dsvm-functional/5fd5a95/ : FAILURE in 27m 17s","accounts_in_message":[],"_revision_number":2},{"id":"0f88130657072e2a5f2436267aa69665da83952b","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-02 15:07:46.000000000","message":"Patch Set 2:\n\nThanks Flavio, let me try to work through this.","accounts_in_message":[],"_revision_number":2},{"id":"7eb93322297927adee98f1e6ba8b5e98f10f292a","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-02 15:25:14.000000000","message":"Patch Set 2:\n\nOn a devstack kilo environment I\u0027m seeing this:\n\n$ glance --os-image-api-version 2 image-list\n+----+------+\n| ID | Name |\n+----+------+\n+----+------+\n\n(ok)\n\n\n$ glance image-list\nWARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions\n+----+------+-------------+------------------+------+--------+\n| ID | Name | Disk Format | Container Format | Size | Status |\n+----+------+-------------+------------------+------+--------+\n+----+------+-------------+------------------+------+--------+\n\n(shouldn\u0027t be falling back?)\n\n\nFor the \u0027fall back\u0027 case I see this over the wire:\n\n\n ####\n T 10.0.0.85:35144 -\u003e 10.0.0.85:9292 [AP]\n GET /versions HTTP/1.1.\n Host: 10.0.0.85:9292.\n Accept-Encoding: gzip, deflate.\n Accept: */*.\n X-Auth-Token: 9ca1cce3c2324303b9084cc85ec399d1.\n Connection: keep-alive.\n User-Agent: python-glanceclient.\n Content-Type: application/octet-stream.\n .\n\n ##\n T 10.0.0.85:9292 -\u003e 10.0.0.85:35144 [AP]\n HTTP/1.1 300 Multiple Choices.\n Content-Type: application/json; charset\u003dUTF-8.\n Content-Length: 636.\n Date: Wed, 02 Sep 2015 15:20:56 GMT.\n Connection: keep-alive.\n .\n {\"versions\": [{\"status\": \"CURRENT\", \"id\": \"v2.3\", \"links\": [{\"href\": \"http://10.0.0.85:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.2\",  \"links\": [{\"href\": \"http://10.0.0.85:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.1\", \"links\": [{\"href\": \"http://10.0.0.85:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.0\", \"links\": [{\"href\": \"http://10.0.0.85:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v1.1\", \"links\": [{\"href\": \"http://10.0.0.85:9292/v1/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v1.0\", \"links\": [{\"href\": \"http://10.0.0.85:9292/v1/\", \"rel\": \"self\"}]}]}\n #####\n T 10.0.0.85:35146 -\u003e 10.0.0.85:9292 [AP]\n GET /v1/images/detail?sort_key\u003dname\u0026sort_dir\u003dasc\u0026limit\u003d20 HTTP/1.1.\n Host: 10.0.0.85:9292.\n Accept-Encoding: gzip, deflate.\n Accept: */*.\n X-Auth-Token: bdeaf8fc9c754c7daf915698a33c24b8.\n Connection: keep-alive.\n User-Agent: python-glanceclient.\n Content-Type: application/octet-stream.\n .\n\n ##\n T 10.0.0.85:9292 -\u003e 10.0.0.85:35146 [AP]\n HTTP/1.1 200 OK.\n Content-Type: application/json; charset\u003dUTF-8.\n Content-Length: 14.\n X-Openstack-Request-Id: req-req-47767c5d-c281-4a38-b407-fd0b1de1e701.\n Date: Wed, 02 Sep 2015 15:20:56 GMT.\n Connection: keep-alive.\n .\n {\"images\": []}","accounts_in_message":[],"_revision_number":2},{"id":"65951905efa72ed25711cc3555954cfac36fa192","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-02 15:31:51.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"cd68401b453268b80dba98d5d2cca1171bcd19ce","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-02 15:41:57.000000000","message":"Patch Set 2:\n\n(2 comments)","accounts_in_message":[],"_revision_number":2},{"id":"d48fe75291ca48d49caebab2c175548c3d0bc5fa","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 16:01:51.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"72925ec3163f02da5e1c434cb3b5056cf04d0a0b","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-02 16:53:40.000000000","message":"Patch Set 3: Code-Review-1\n\nLooking good.\n\nSome comments in patch set 2.\n\nIn particular we need to check against \u0027v2\u0027 not \u00272\u0027 I think.\n\nAlso, do we actually use the cached schemas at any point? I\u0027m probably being dumb but I can\u0027t see where we (re)use them.","accounts_in_message":[],"_revision_number":3},{"id":"2854ec910fa2471ce1aed518c4a6796e35c07b1f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-02 17:52:49.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-python26 http://logs.openstack.org/69/219469/3/check/gate-python-glanceclient-python26/c1b9e3a/ : SUCCESS in 1m 13s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/3/check/gate-python-glanceclient-pep8/72e2737/ : SUCCESS in 1m 04s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/3/check/gate-python-glanceclient-docs/ba6fdc2//doc/build/html/ : SUCCESS in 1m 13s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/3/check/gate-python-glanceclient-python27/eb4efea/ : SUCCESS in 1m 11s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/3/check/gate-python-glanceclient-python34/2fe1f66/ : SUCCESS in 1m 40s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/3/check/gate-python-glanceclient-pypy/4ff859f/ : FAILURE in 1m 21s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/3/check/gate-tempest-dsvm-neutron-src-python-glanceclient/1a9ed5e/ : SUCCESS in 1h 08m 27s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/3/check/gate-glanceclient-dsvm-functional/b003268/ : SUCCESS in 27m 18s","accounts_in_message":[],"_revision_number":3},{"id":"a0ebc75e21a0733090b07e2e8967a748a9f318b1","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 17:52:56.000000000","message":"Patch Set 2:\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"0588bb5e34ff1a8c9a1a4c6f654568164ddf9256","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 17:54:33.000000000","message":"Patch Set 3:\n\nI\u0027m personally not a fan of the schema\u0027s caching thing because these schemas never expire. However, we do re-use them in this code. The `_cache_schemas` method returns the cached ones.\n\nI\u0027ll fix the bug you found in the previous patch-set","accounts_in_message":[],"_revision_number":3},{"id":"b4d6f4515e2cfab8a52cdbf54b8f459d98de5e15","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-02 18:04:52.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"42a2a965e9f5b12cf02496d18e87d3d121a8ad3b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-02 21:10:48.000000000","message":"Patch Set 4: 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-glanceclient-python26 http://logs.openstack.org/69/219469/4/check/gate-python-glanceclient-python26/348bcbd/ : FAILURE in 1m 24s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/4/check/gate-python-glanceclient-pep8/e5040ff/ : SUCCESS in 51s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/4/check/gate-python-glanceclient-docs/2dc157a//doc/build/html/ : SUCCESS in 1m 25s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/4/check/gate-python-glanceclient-python27/b1720df/ : FAILURE in 1m 18s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/4/check/gate-python-glanceclient-python34/9abff72/ : FAILURE in 1m 45s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/4/check/gate-python-glanceclient-pypy/b8ef9ea/ : FAILURE in 2m 20s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/4/check/gate-tempest-dsvm-neutron-src-python-glanceclient/12c877d/ : FAILURE in 1h 06m 46s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/4/check/gate-glanceclient-dsvm-functional/622bb5e/ : SUCCESS in 27m 57s","accounts_in_message":[],"_revision_number":4},{"id":"feae4ae72f9af46a79a35193bccd84320be2a4fa","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-03 06:34:50.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"acd21c1b12d9ff7954d928de8adfc6ab3acc0735","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-03 07:32:46.000000000","message":"Patch Set 5: 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-glanceclient-python26 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python26/e7cff80/ : SUCCESS in 1m 09s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-pep8/0d286ce/ : SUCCESS in 59s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/5/check/gate-python-glanceclient-docs/607272c//doc/build/html/ : SUCCESS in 1m 26s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python27/b218fae/ : SUCCESS in 1m 01s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python34/1f910b5/ : SUCCESS in 1m 33s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-pypy/b358fee/ : FAILURE in 1m 52s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/5/check/gate-tempest-dsvm-neutron-src-python-glanceclient/60a97b9/ : SUCCESS in 54m 54s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/5/check/gate-glanceclient-dsvm-functional/ef5f829/ : FAILURE in 20m 03s","accounts_in_message":[],"_revision_number":5},{"id":"113028ec2e30d21f7d41da36fffc34413949708b","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2015-09-03 10:39:38.000000000","message":"Patch Set 5: Code-Review+1\n\n(2 comments)\n\nThanks Flavio.\n\nI tested and it seems to work well.\n\nI\u0027d be in favour of decoupling the schema caching and the failback logic.\n\n(We\u0027ll need to follow up with a couple of other bits and pieces, but this is a good step I think.)","accounts_in_message":[],"_revision_number":5},{"id":"0711f2442fb88ccbeda01b64823df0f616c11ce1","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-03 11:40:41.000000000","message":"Patch Set 5:\n\nrecheck no bug","accounts_in_message":[],"_revision_number":5},{"id":"d0a43aefa598e4f2d0fe155a88232d29f868e982","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-03 12:59:33.000000000","message":"Patch Set 5:\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-glanceclient-python26 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python26/afe97b1/ : SUCCESS in 1m 40s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-pep8/9e3ac52/ : SUCCESS in 1m 21s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/5/check/gate-python-glanceclient-docs/9a4a85a//doc/build/html/ : SUCCESS in 46s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python27/ce4de44/ : SUCCESS in 52s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-python34/27ac6ec/ : SUCCESS in 2m 15s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/5/check/gate-python-glanceclient-pypy/dd7396e/ : FAILURE in 1m 28s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/5/check/gate-tempest-dsvm-neutron-src-python-glanceclient/710c479/ : SUCCESS in 1h 06m 22s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/5/check/gate-glanceclient-dsvm-functional/befd212/ : FAILURE in 31m 02s","accounts_in_message":[],"_revision_number":5},{"id":"db93d91765bb77f824145372e78baf91f7002acc","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-03 20:14:49.000000000","message":"Patch Set 5:\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"69aa7f84ed42f323bbc3af95812b4410f67c3714","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-03 20:16:02.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"49bbfea9eecdb51331049f9146f206b787868e5b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-03 21:19:48.000000000","message":"Patch Set 6: 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-glanceclient-python26 http://logs.openstack.org/69/219469/6/check/gate-python-glanceclient-python26/ceeceb1/ : SUCCESS in 1m 16s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/6/check/gate-python-glanceclient-pep8/a486a86/ : SUCCESS in 1m 05s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/6/check/gate-python-glanceclient-docs/ec05c1c//doc/build/html/ : SUCCESS in 1m 02s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/6/check/gate-python-glanceclient-python27/eb5fdf2/ : SUCCESS in 1m 04s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/6/check/gate-python-glanceclient-python34/4ea6cbc/ : SUCCESS in 1m 32s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/6/check/gate-python-glanceclient-pypy/8c060d0/ : FAILURE in 1m 54s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/6/check/gate-tempest-dsvm-neutron-src-python-glanceclient/6d022a4/ : SUCCESS in 1h 03m 37s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/6/check/gate-glanceclient-dsvm-functional/ca55472/ : FAILURE in 21m 33s","accounts_in_message":[],"_revision_number":6},{"id":"aca102da73ad7adad0a0e94d6266dc15ec6f68e1","author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"date":"2015-09-04 11:33:28.000000000","message":"Uploaded patch set 7.","accounts_in_message":[],"_revision_number":7},{"id":"4c0911e5aa52c3bfb2207923a6ef4ae05fe5791e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-04 12:40:18.000000000","message":"Patch Set 7: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-python26 http://logs.openstack.org/69/219469/7/check/gate-python-glanceclient-python26/7d2d5d2/ : SUCCESS in 1m 09s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/7/check/gate-python-glanceclient-pep8/f4889db/ : SUCCESS in 59s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/7/check/gate-python-glanceclient-docs/a43d56d//doc/build/html/ : SUCCESS in 1m 17s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/7/check/gate-python-glanceclient-python27/a0c54a7/ : SUCCESS in 1m 14s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/7/check/gate-python-glanceclient-python34/79ec762/ : SUCCESS in 1m 22s\n- gate-python-glanceclient-pypy http://logs.openstack.org/69/219469/7/check/gate-python-glanceclient-pypy/29ed2b4/ : FAILURE in 2m 08s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/7/check/gate-tempest-dsvm-neutron-src-python-glanceclient/fc3d140/ : SUCCESS in 1h 06m 42s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/7/check/gate-glanceclient-dsvm-functional/558702c/ : SUCCESS in 21m 06s","accounts_in_message":[],"_revision_number":7},{"id":"e2977056b0f6d60e9f46fa9ecbbec1f4176a5597","author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"date":"2015-09-08 11:53:33.000000000","message":"Patch Set 7: Code-Review+2\n\nlgtm","accounts_in_message":[],"_revision_number":7},{"id":"3d41ad8e53e8efe1d5018e342975485c2c8eaec9","author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"date":"2015-09-08 19:46:49.000000000","message":"Patch Set 7: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":7},{"id":"3726e53a11d45a4ecc2b1dae424a14f2e3d87d74","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-08 19:46:54.000000000","message":"Patch Set 7: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":7},{"id":"d3f08ace99e99de5d42f6864819ae054a669012f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-08 20:45:52.000000000","message":"Patch Set 7: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-glanceclient-python26 http://logs.openstack.org/69/219469/7/gate/gate-python-glanceclient-python26/b8d4b3b/ : SUCCESS in 1m 13s\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/69/219469/7/gate/gate-python-glanceclient-docs/a9de87c//doc/build/html/ : SUCCESS in 2m 37s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/69/219469/7/gate/gate-python-glanceclient-pep8/ed49c9f/ : SUCCESS in 56s\n- gate-python-glanceclient-python27 http://logs.openstack.org/69/219469/7/gate/gate-python-glanceclient-python27/d524b4f/ : SUCCESS in 1m 16s\n- gate-python-glanceclient-python34 http://logs.openstack.org/69/219469/7/gate/gate-python-glanceclient-python34/f054971/ : SUCCESS in 5m 09s\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/69/219469/7/gate/gate-tempest-dsvm-neutron-src-python-glanceclient/bbaef3d/ : SUCCESS in 55m 05s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/69/219469/7/gate/gate-glanceclient-dsvm-functional/7a53e65/ : SUCCESS in 23m 02s","accounts_in_message":[],"_revision_number":7},{"id":"9767235dddb8de67f12d5f0fe732f83d2f8fd706","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-09-08 20:45:53.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":7}],"current_revision_number":7,"current_revision":"47423ebbb2dfcb0d63aefcb87a9bec85420a7a99","revisions":{"e8899c7b876556ab2b456aaecefb7133fe3b2361":{"kind":"REWORK","_number":1,"created":"2015-09-01 22:00:54.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/1"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:58:02.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch tries to fix this behaviour by listing images using v2 -\nlimited to 1 image - and verify that the call succeeds. I\u0027m not\nhappy/proud of this but I believe this should work as a temporary guard\nfor some deployments.\n\nAnother approach could be to switch `get_schemas` to True but that could\nbreak environments that depend on it being False. For instance,\nenvironments sharing the schemas by mounting a read-only share. Whether\nthese envs exist or not is not the point but rather to make it clear\nthat switching defaults is not a good option. :)\n\nWe already have a warning in place that tells the user this behaviour\nwill be removed.\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/e8899c7b876556ab2b456aaecefb7133fe3b2361"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/e8899c7b876556ab2b456aaecefb7133fe3b2361"}]},"branch":"refs/heads/master"},"2861312bf894403517679f8fef612fa4230e087e":{"kind":"REWORK","_number":2,"created":"2015-09-02 12:23:52.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/2"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-02 12:16:44.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/2861312bf894403517679f8fef612fa4230e087e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/2861312bf894403517679f8fef612fa4230e087e"}]},"branch":"refs/heads/master"},"12dc4a252a70abaac52dfa4f18688da86f2d7c39":{"kind":"REWORK","_number":3,"created":"2015-09-02 16:01:51.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/3"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-02 15:54:19.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/12dc4a252a70abaac52dfa4f18688da86f2d7c39"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/12dc4a252a70abaac52dfa4f18688da86f2d7c39"}]},"branch":"refs/heads/master"},"a3eb5e2f8858dc8a8b85e0ac90ce89e9015a8f87":{"kind":"REWORK","_number":4,"created":"2015-09-02 18:04:52.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/4"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-02 18:03:21.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/a3eb5e2f8858dc8a8b85e0ac90ce89e9015a8f87"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/a3eb5e2f8858dc8a8b85e0ac90ce89e9015a8f87"}]},"branch":"refs/heads/master"},"6222e012ba775b318bcca97bda29a06b39ffb91c":{"kind":"REWORK","_number":5,"created":"2015-09-03 06:34:50.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/5"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-03 06:33:04.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/6222e012ba775b318bcca97bda29a06b39ffb91c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/6222e012ba775b318bcca97bda29a06b39ffb91c"}]},"branch":"refs/heads/master"},"81254e39ecaa41d8885dad7e3868bf5487197d2b":{"kind":"REWORK","_number":6,"created":"2015-09-03 20:16:02.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/6"}}},"commit":{"parents":[{"commit":"1e2274aef011c143ef0ae421b45755babaff3652","subject":"Password should be prompted once","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/1e2274aef011c143ef0ae421b45755babaff3652"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-03 20:14:23.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/81254e39ecaa41d8885dad7e3868bf5487197d2b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/81254e39ecaa41d8885dad7e3868bf5487197d2b"}]},"branch":"refs/heads/master"},"47423ebbb2dfcb0d63aefcb87a9bec85420a7a99":{"kind":"TRIVIAL_REBASE","_number":7,"created":"2015-09-04 11:33:28.000000000","uploader":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"ref":"refs/changes/69/219469/7","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/69/219469/7","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/69/219469/7"}}},"commit":{"parents":[{"commit":"90b7dc4141d18445ea40d7b6b4c3d25a2c163284","subject":"Update path to subunit2html in post_test_hook","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/90b7dc4141d18445ea40d7b6b4c3d25a2c163284"}]}],"author":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-01 21:28:11.000000000","tz":120},"committer":{"name":"Flavio Percoco","email":"flaper87@gmail.com","date":"2015-09-04 11:31:55.000000000","tz":120},"subject":"Check if v2 is available and fallback","message":"Check if v2 is available and fallback\n\nWe have a basic implementation for a fallback mechanism that will use v1\nrather than v2 when downloading schema files from glance-api fails.\nHowever, this is not sound. If the schemas are cached already, we won\u0027t\ncheck if v2 is available and fail to fallback.\n\nThis patch fixes the aforementioned issue by getting the list of\navailable versions from the server only when the API versions was not\nexplicitly specified through the CLI. That is, for all commands that\ndon\u0027t pass `--os-image-api-version 2`, we\u0027ll check v2\u0027s availability and\nwe\u0027ll fallback to v1 if it isn\u0027t available.\n\nThis patch also changes how we handle `/versions` calls in the client.\nThe server has been, incorrectly, replying to requests to `/version`\nwith a 300 error, which ended up in the client re-raising such\nexception. While I think 300 shouldn\u0027t raise an exception, I think we\nshould handle that in a spearate patch. Therefore, this patch just\navoids raising such exception when `/version` is explicitly called.\n\nThis fallback behaviour and the check on `/versions` will be removed in\nfuture versions of the client. The later depends on this bug[0] being\nfixed.\n\n[0] https://bugs.launchpad.net/glance/+bug/1491350\n\nCloses-bug: #1489381\nChange-Id: Ibeba6bc86db2a97b8a2b4bd042248464cd792e5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/47423ebbb2dfcb0d63aefcb87a9bec85420a7a99"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/47423ebbb2dfcb0d63aefcb87a9bec85420a7a99"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
