)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"db2e717e9da82decfbbecc44e1fd45e10e2fb1b0","unresolved":false,"context_lines":[{"line_number":10,"context_line":"meeting indicate that some key agreements are not sufficiently clear"},{"line_number":11,"context_line":"in the current text.  This patch adds a section titled \"Summary"},{"line_number":12,"context_line":"of the Constraints Around This Project\" to clarify these key points."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I2c3f659c400ecf0c8e354ff5f80100724e7879a8"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a57f1b5_e368def7","line":13,"updated":"2016-02-10 14:35:03.000000000","message":"Also, can you add MitakaPriority to the commit message?","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"}],"specs/mitaka/approved/image-import/image-import-refactor.rst":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a9df54ad32980dd8f0b44a34d4202a4abbd0f4ec","unresolved":false,"context_lines":[{"line_number":143,"context_line":"#. (At least some) Public cloud operators do not want to expose the current"},{"line_number":144,"context_line":"   glance v1/v2 image upload as it is too fragile."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"#. The TC has mandated that OpenStack clouds MUST support what\u0027s known"},{"line_number":147,"context_line":"   in the industry as \"image import\". [NEW1_, NEW2_]"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"   #. Just have to support import of a vanilla linux image; no mandate about"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_75b579cb","line":146,"updated":"2016-02-10 16:43:09.000000000","message":"That didn\u0027t really come from the TC, per se. Some members of the community want DefCore to mandate an image upload, and recognize that because of issues with the current APIs we can\u0027t yet do that. So first we need an API that meets the DefCore requirements, and then we need to add the tests to tempest, and then we can work with the DefCore committee to add those tests as mandates.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":143,"context_line":"#. (At least some) Public cloud operators do not want to expose the current"},{"line_number":144,"context_line":"   glance v1/v2 image upload as it is too fragile."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"#. The TC has mandated that OpenStack clouds MUST support what\u0027s known"},{"line_number":147,"context_line":"   in the industry as \"image import\". [NEW1_, NEW2_]"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"   #. Just have to support import of a vanilla linux image; no mandate about"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_48abea1d","line":146,"in_reply_to":"3a57f1b5_75b579cb","updated":"2016-02-11 03:59:22.000000000","message":"Sorry this wasn\u0027t clear.  The TC passed a resolution in Dec 2015 (see the [NEW1] reference) saying that end user image upload (what we -- following industry parlance -- are calling \"image import\") must be available in OpenStack clouds.  The [NEW2] reference is to a patch to the DefCore requirements that removes the current image import tests; the commit message states pretty much the same points you make here about needing the API first, then the tests, then the tests added to DefCore.\n\nI\u0027ll try to rewrite to make this more clear.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f72e83a1c38dedd832e467f208ff1b7454ffc662","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":"   #. End user image import"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"(My view is that we are working on the image import use case, and what we come"},{"line_number":176,"context_line":"up with there could, but doesn\u0027t have to, be used/usable for the other two use"},{"line_number":177,"context_line":"cases.  The key point to keep in mind here is that the discovery of various"},{"line_number":178,"context_line":"vulnerabilities may cause operators to halt import (temporarily), and they will"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_bee2029e","line":175,"updated":"2016-02-10 13:14:11.000000000","message":"Should this be a note?","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":"   #. End user image import"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"(My view is that we are working on the image import use case, and what we come"},{"line_number":176,"context_line":"up with there could, but doesn\u0027t have to, be used/usable for the other two use"},{"line_number":177,"context_line":"cases.  The key point to keep in mind here is that the discovery of various"},{"line_number":178,"context_line":"vulnerabilities may cause operators to halt import (temporarily), and they will"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_c844ba75","line":175,"in_reply_to":"3a57f1b5_bee2029e","updated":"2016-02-11 03:59:22.000000000","message":"Good suggestion, I\u0027ll make it a note in the next patch.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a9df54ad32980dd8f0b44a34d4202a4abbd0f4ec","unresolved":false,"context_lines":[{"line_number":176,"context_line":"up with there could, but doesn\u0027t have to, be used/usable for the other two use"},{"line_number":177,"context_line":"cases.  The key point to keep in mind here is that the discovery of various"},{"line_number":178,"context_line":"vulnerabilities may cause operators to halt import (temporarily), and they will"},{"line_number":179,"context_line":"want to do that while still keeping the other 2 use cases operational.)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"OK, without further ado, here\u0027s what was agreed upon:"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_75d6d9c6","line":179,"updated":"2016-02-10 16:43:09.000000000","message":"This is also my understanding. It would be nice to have only one API, but the hole we have right now is the public-facing use case and so that\u0027s where the focus of this work should be. If we can make the results work for the other cases, that\u0027s a bonus, but not required.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":176,"context_line":"up with there could, but doesn\u0027t have to, be used/usable for the other two use"},{"line_number":177,"context_line":"cases.  The key point to keep in mind here is that the discovery of various"},{"line_number":178,"context_line":"vulnerabilities may cause operators to halt import (temporarily), and they will"},{"line_number":179,"context_line":"want to do that while still keeping the other 2 use cases operational.)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"OK, without further ado, here\u0027s what was agreed upon:"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_e83e56d9","line":179,"in_reply_to":"3a57f1b5_75d6d9c6","updated":"2016-02-11 03:59:22.000000000","message":"Thanks for confirming!","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f72e83a1c38dedd832e467f208ff1b7454ffc662","unresolved":false,"context_lines":[{"line_number":193,"context_line":"      #. the values that will enable a client to have a successful image import"},{"line_number":194,"context_line":"         (e.g., supported formats) must be discoverable"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"      #. \"discoverable\" \u003d\u003d via API call"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_1eb6b68a","line":196,"updated":"2016-02-10 13:14:11.000000000","message":"Pretty much in a follow-your-nose fashion","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"371da75c1409030be7618c84d48dbf4d8e662994","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"         #. available in headers "},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_d0b4a9d2","line":200,"updated":"2016-02-09 22:31:37.000000000","message":"s this really a requirement? Why does OpenStack stuff everything into headers?","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"         #. available in headers "},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_9be36a05","line":200,"in_reply_to":"3a57f1b5_35ae212f","updated":"2016-02-11 03:59:22.000000000","message":"My memory was that someone said that headers would be helpful for client software that was consuming the API.  Maybe we\u0027re confusing two different scenarios.  What we\u0027re talking about is the list of available upload methods and possibly the URL to upload to.\n\n(1) The info comes back in the body of the GET v2/info/import call; there are no extra headers on that call.\n\n(2) The headers would come back with the POST v2/images response -- the idea being that they answer the question, \"hey I just created an image record, now what do I do?\".  (The import method list and upload url can\u0027t really be included in the body of the POST v2/images response, because what you get is the json representation of the Image record.  I don\u0027t think these are the kind of thing that should be in the Image record.)\n\nI made the suggestion on an early patch of the spec that the URL to upload to would be known by convention (just as the current v2/images/image_id/file endpoint is known by convention), but that suggestion wasn\u0027t received too warmly.  At the same time, people wanted it to be clear that the GET v2/info/import call was not a necessary part of the image import workflow.\n\nI\u0027m OK with removing the headers, but my feeling is that if our aim is to have multiple image import methods with a consistent interface, the client software needs to be able to read what a particular cloud supports and act accordingly.  Since a client must create an image record before doing anything else, it makes sense for the list of import methods available at the site to come back in the headers to the POST v2/images call.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a9df54ad32980dd8f0b44a34d4202a4abbd0f4ec","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"         #. available in headers "},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_35ae212f","line":200,"in_reply_to":"3a57f1b5_48d0f853","updated":"2016-02-10 16:43:09.000000000","message":"I don\u0027t remember saying anything about headers at the summit. I would be fine with information coming back in the body of calls, too.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"e484c8abbb7b1f0d2c1d3d2a717a321082f5bb58","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"         #. available in headers "},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bae84128_31e89610","line":200,"in_reply_to":"3a57f1b5_9be36a05","updated":"2016-02-19 20:08:36.000000000","message":"The addition to the headers here was due to the fact that we wanted to recycle the old endpoint for that image create POST call. The info doesn\u0027t really belong to image resource like well pointed out in the new version, but we also need to have a way client can recognize new and old service (supporting the import workflow or not) without breaking the old behavior of this endpoint.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f72e83a1c38dedd832e467f208ff1b7454ffc662","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"         #. specific API request"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"         #. available in headers "},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_48d0f853","line":200,"in_reply_to":"3a57f1b5_d0b4a9d2","updated":"2016-02-10 13:14:11.000000000","message":"I don\u0027t believe putting everything into headers is really a requirement. As long as things are done in a consistent way with regards to other OpenStack services, I think we\u0027re good","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f72e83a1c38dedd832e467f208ff1b7454ffc662","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"      #. it\u0027s acceptable for there to be multiple import methods (as long as each"},{"line_number":205,"context_line":"         is well defined)"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"      #. no cloud has to support all import methods, but it\u0027s expected that to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_f9a09492","line":204,"updated":"2016-02-10 13:14:11.000000000","message":"I think we should expand what we mean by import methods here. The import method is the source of the image, in this case at least. The API calls won\u0027t change and their body structure will remain the same.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"      #. it\u0027s acceptable for there to be multiple import methods (as long as each"},{"line_number":205,"context_line":"         is well defined)"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"      #. no cloud has to support all import methods, but it\u0027s expected that to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_fbb61edb","line":204,"in_reply_to":"3a57f1b5_b0045f15","updated":"2016-02-11 03:59:22.000000000","message":"Flavio and Doug, I\u0027ll try to think of a succinct way to state your points -- maybe by just copying and pasting them with a reference to the sample import schema.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a9df54ad32980dd8f0b44a34d4202a4abbd0f4ec","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"   #. \"supportable by all OpenStack clouds\""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"      #. it\u0027s acceptable for there to be multiple import methods (as long as each"},{"line_number":205,"context_line":"         is well defined)"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"      #. no cloud has to support all import methods, but it\u0027s expected that to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_b0045f15","line":204,"in_reply_to":"3a57f1b5_f9a09492","updated":"2016-02-10 16:43:09.000000000","message":"That\u0027s right. The API must not change based on deployment choices. The values of arguments may change, but the names of arguments shouldn\u0027t. If some arguments are optional based on the mechanism used to upload the data, that needs to be clearly documented so that when an API caller asks \"which upload mechanisms are supported?\" the answer can be used to determine which parameters are needed for the next call to actually do the upload.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"a9df54ad32980dd8f0b44a34d4202a4abbd0f4ec","unresolved":false,"context_lines":[{"line_number":207,"context_line":"      #. no cloud has to support all import methods, but it\u0027s expected that to"},{"line_number":208,"context_line":"         achieve certification as \"OpenStack Powered Compute\" (and hence, to"},{"line_number":209,"context_line":"         even have a shot at certification as an \"OpenStack Powered Platform\"),"},{"line_number":210,"context_line":"         a cloud must expose at least one of these."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"   #. Since Swift is not part of the \"OpenStack Powered Compute\" program,"},{"line_number":213,"context_line":"      Glance must expose at least one import method that does not rely upon the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_904da374","line":210,"updated":"2016-02-10 16:43:09.000000000","message":"I expect clouds to expose exactly one mechanism, but this wording is also OK.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":207,"context_line":"      #. no cloud has to support all import methods, but it\u0027s expected that to"},{"line_number":208,"context_line":"         achieve certification as \"OpenStack Powered Compute\" (and hence, to"},{"line_number":209,"context_line":"         even have a shot at certification as an \"OpenStack Powered Platform\"),"},{"line_number":210,"context_line":"         a cloud must expose at least one of these."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"   #. Since Swift is not part of the \"OpenStack Powered Compute\" program,"},{"line_number":213,"context_line":"      Glance must expose at least one import method that does not rely upon the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_fb04de7e","line":210,"in_reply_to":"3a57f1b5_904da374","updated":"2016-02-11 03:59:22.000000000","message":"I could see clouds supporting just one of glance-direct or swift-local, but if some kind of copy-from were added (that would let you copy from, say, the openstack app catalog), I could see clouds supporting that one, too.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"371da75c1409030be7618c84d48dbf4d8e662994","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"   #. one: create image record, two: upload data, three: import call"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"   #. steps one and two can be independent"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"#. The import workflow should allow for server-side operator customization, but"},{"line_number":223,"context_line":"   no operator is required to perform such customization."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_10e241d6","line":220,"updated":"2016-02-09 22:31:37.000000000","message":"as in, can be independent but can also be simultaneous, correct?","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f72e83a1c38dedd832e467f208ff1b7454ffc662","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"   #. one: create image record, two: upload data, three: import call"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"   #. steps one and two can be independent"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"#. The import workflow should allow for server-side operator customization, but"},{"line_number":223,"context_line":"   no operator is required to perform such customization."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_59c76812","line":220,"in_reply_to":"3a57f1b5_10e241d6","updated":"2016-02-10 13:14:11.000000000","message":"@brian What do you mean with \"can be independent\" here? That they can be separate calls and we don\u0027t have to create the image record and upload the data in the same call?\n\n@ian, If I understood what Brian meant, I believe you are right but not for the same image, though.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"3e4b77b47dc90cea7d16b7301b82002e485ca681","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"   #. one: create image record, two: upload data, three: import call"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"   #. steps one and two can be independent"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"#. The import workflow should allow for server-side operator customization, but"},{"line_number":223,"context_line":"   no operator is required to perform such customization."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a57f1b5_fbbcde6d","line":220,"in_reply_to":"3a57f1b5_59c76812","updated":"2016-02-11 03:59:22.000000000","message":"Reading that over, I\u0027m not sure I chose the correct words.  I was thinking of the swift-local case, where you could put your data in your personal swift account, then create the image record, and then make the import call (which would copy the data from your account, process it, and save it in Glance).  Or you could create the image, then get your data into the cloud, and then make the import call.\n\nThe way I\u0027m thinking of swift-local is that we\u0027d let the end user take advantage of the various tools that have been developed to get objects into swift (parallel upload of segments, etc.).  In that case the data-upload step would actually be completely independent of Glance.  Maybe I haven\u0027t expressed clearly enough how I think the swift-local would work and we\u0027re not all on the same page here.","commit_id":"2ba80d3fc021c57f21029c124fe9e5de385042d2"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"236bec39304e5375e4ffbd22e498267601d78d3a","unresolved":false,"context_lines":[{"line_number":209,"context_line":"      #. \"discoverable\" \u003d\u003d via API call (in what Flavio calls a"},{"line_number":210,"context_line":"         \"follow-your-nose\" fashion)"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"         #. specific API request: this would be the ``GET v2/info/import`` call"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"         #. available in headers: the headers would be returned with the ``POST"},{"line_number":215,"context_line":"            v2/images`` response.  The idea is that the content of that"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_76185485","line":212,"updated":"2016-02-19 20:08:16.000000000","message":"I might just have forgotten, but what\u0027s the point of this call again?","commit_id":"396ce3b5e5ec0e0478bff9501b36a385a24a57b5"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"5b9a3789d844a9b3a8d93b7b75c7a6a937cddc5a","unresolved":false,"context_lines":[{"line_number":209,"context_line":"      #. \"discoverable\" \u003d\u003d via API call (in what Flavio calls a"},{"line_number":210,"context_line":"         \"follow-your-nose\" fashion)"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"         #. specific API request: this would be the ``GET v2/info/import`` call"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"         #. available in headers: the headers would be returned with the ``POST"},{"line_number":215,"context_line":"            v2/images`` response.  The idea is that the content of that"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7af24918_195b1c30","line":212,"in_reply_to":"bae84128_76185485","updated":"2016-03-04 21:06:35.000000000","message":"Just realized I never answered this.  The idea is that while we want all clouds to support import, it\u0027s ok for them to put size restrictions on images.  For example, if your flavors have a max system disk of 40GB, no point letting users import a bigger image since they won\u0027t be able to boot it in that cloud.  So that info would be in the response.  Also the disk_format and container_format you accept.  Previously, this was left to documentation, which doesn\u0027t quite meet the discoverability criteria.","commit_id":"396ce3b5e5ec0e0478bff9501b36a385a24a57b5"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"10c98113bee4e020bfd2ca9261f8a8657c7803cd","unresolved":false,"context_lines":[{"line_number":248,"context_line":"#. The import workflow should allow for server-side operator customization, but"},{"line_number":249,"context_line":"   no operator is required to perform such customization."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"   #. We\u0027re talking about customization in processing the uploaded data.  The"},{"line_number":252,"context_line":"      API request/response structure is not customizable."},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bae84128_415ff7e4","line":251,"range":{"start_line":251,"start_character":6,"end_line":251,"end_character":71},"updated":"2016-02-22 17:56:47.000000000","message":"I think it\u0027s implied here, but if there\u0027s another patch we could say \u0027...customization in processing the uploaded data before the image is marked \"active\".\u0027","commit_id":"396ce3b5e5ec0e0478bff9501b36a385a24a57b5"}]}
