)]}'
{"specs/liberty/upload-retry.rst":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"4901bc1a1855b770a83414009de619b35064c2a6","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   b) on failure, stay in killed"},{"line_number":50,"context_line":"   c) on failure, return error code"},{"line_number":51,"context_line":"4. Start uploading"},{"line_number":52,"context_line":"5. Success"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"},{"line_number":55,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a50d1a3_82211eff","line":52,"updated":"2015-07-29 23:54:14.000000000","message":"Could you elaborate more on what happens with the image data? Is this spec proposing to not clean the previously uploaded data and restart from there? Will the previously uploaded date be cleaned up and just the image metadata will be re-used?","commit_id":"fdba06d15bdc55f5a16f50e1c5698bcd5a0ff592"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"f73174b92777a98772000877a00a9151479b77ed","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   b) on failure, stay in killed"},{"line_number":50,"context_line":"   c) on failure, return error code"},{"line_number":51,"context_line":"4. Start uploading"},{"line_number":52,"context_line":"5. Success"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"},{"line_number":55,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a50d1a3_19722e4a","line":52,"in_reply_to":"3a50d1a3_82211eff","updated":"2015-07-30 23:47:34.000000000","message":"The latter. Resumable uploads is a nice to have that I am considering as a next step. I updated the spec. Let me know if it\u0027s more clear and goodlier. Thanks!","commit_id":"fdba06d15bdc55f5a16f50e1c5698bcd5a0ff592"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"4901bc1a1855b770a83414009de619b35064c2a6","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"I don\u0027t believe this is possible, but we need to ensure that a bad actor"},{"line_number":79,"context_line":"cannot sneak in and upload malicious data for the retry fooling the system into"},{"line_number":80,"context_line":"thinking that the malicious data was a successful retry."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Notifications impact"},{"line_number":83,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a50d1a3_221e0abc","line":80,"updated":"2015-07-29 23:54:14.000000000","message":"We should also ensure that quota is managed properly. It should just work but ....","commit_id":"fdba06d15bdc55f5a16f50e1c5698bcd5a0ff592"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"f73174b92777a98772000877a00a9151479b77ed","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"I don\u0027t believe this is possible, but we need to ensure that a bad actor"},{"line_number":79,"context_line":"cannot sneak in and upload malicious data for the retry fooling the system into"},{"line_number":80,"context_line":"thinking that the malicious data was a successful retry."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Notifications impact"},{"line_number":83,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a50d1a3_19a9ce7b","line":80,"in_reply_to":"3a50d1a3_221e0abc","updated":"2015-07-30 23:47:34.000000000","message":"Which quota? I\u0027m happy to look into this, but I\u0027m not sure what quota you would exceed so what to check. It\u0027s just a retry from nova which we already do except we get a 409 instead of a success.","commit_id":"fdba06d15bdc55f5a16f50e1c5698bcd5a0ff592"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8fa122c59f7e7d26e5a99dde149ceb7688670194","unresolved":false,"context_lines":[{"line_number":74,"context_line":"---------------"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Killed is not a terminal state. An image in killed status can be resurrected"},{"line_number":77,"context_line":"(i.e. transition to queued) by retrying upload of the image in killed status."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Security impact"},{"line_number":80,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a4dcd0f_744c499e","line":77,"updated":"2015-08-05 15:40:11.000000000","message":"With this change, data upload to a killed image may not result in a 409 any more. Is that worth mentioning here?","commit_id":"a5b725f74efe368d2a1a0aca0dd4ab0748e62fe3"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"afa926d16d70c00b074584916c2c1096939d0eeb","unresolved":false,"context_lines":[{"line_number":74,"context_line":"---------------"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Killed is not a terminal state. An image in killed status can be resurrected"},{"line_number":77,"context_line":"(i.e. transition to queued) by retrying upload of the image in killed status."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Security impact"},{"line_number":80,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a4dcd0f_aa910af3","line":77,"in_reply_to":"1a4dcd0f_744c499e","updated":"2015-08-05 16:01:11.000000000","message":"Done","commit_id":"a5b725f74efe368d2a1a0aca0dd4ab0748e62fe3"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8fa122c59f7e7d26e5a99dde149ceb7688670194","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Notifications impact"},{"line_number":87,"context_line":"--------------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"None"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a4dcd0f_f77e1b18","line":88,"updated":"2015-08-05 15:40:11.000000000","message":"Now that an image upload can be retried, certain notifications like image.prepare and image.upload may appear twice for a re-tried image. Is that worth mentioning here?","commit_id":"a5b725f74efe368d2a1a0aca0dd4ab0748e62fe3"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"afa926d16d70c00b074584916c2c1096939d0eeb","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Notifications impact"},{"line_number":87,"context_line":"--------------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"None"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a4dcd0f_0a891ec9","line":88,"in_reply_to":"1a4dcd0f_f77e1b18","updated":"2015-08-05 16:01:11.000000000","message":"Done","commit_id":"a5b725f74efe368d2a1a0aca0dd4ab0748e62fe3"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"12060046cf205da2ccd410fec050fe8503e1f5db","unresolved":false,"context_lines":[{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a4dcd0f_e32f3d86","line":53,"updated":"2015-08-05 16:38:48.000000000","message":"Maybe this is implementation detail, but what error code do we propose to throw when the data cleanup fails?","commit_id":"fffc9afdb6486e1b8346dde07ffd673e6eb2e3dd"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"3e4a2e871596275658a6b2850aabbc51b6745a80","unresolved":false,"context_lines":[{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a4dcd0f_80850a08","line":53,"in_reply_to":"1a4dcd0f_e32f3d86","updated":"2015-08-05 18:03:45.000000000","message":"Done","commit_id":"fffc9afdb6486e1b8346dde07ffd673e6eb2e3dd"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"b9a5c797b90ebc709d39835d9a9a6fa0516ba0ba","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Start uploading"},{"line_number":49,"context_line":"2. Error occurs (best effort is made to clean up image locations)"},{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da20952f_a36c1809","line":51,"updated":"2015-09-02 23:12:42.000000000","message":"A killed image won\u0027t have any locations. A location is created only when it is set explicitly or the upload operation succeeds. In this case, since the upload fails, no location would be created. \n\nHowever, there maybe stale data lying around from the failed upload attempt. But, cleaning it may be tricky without a location. \n\nWith some stores, like Swift, data can be overwritten by just re-uploading. But, I\u0027m not sure if that is the case with all the stores.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"9d3b7a9089406772e760ce47882a3b0b5ec4aff1","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Start uploading"},{"line_number":49,"context_line":"2. Error occurs (best effort is made to clean up image locations)"},{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9a1a9d01_5a95313e","line":51,"in_reply_to":"da20952f_a36c1809","updated":"2015-09-24 14:23:34.000000000","message":"That\u0027s good info. I\u0027ll incorporate.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"27e8be9d2f8070c6a60fdf0310dd3d6523baf5db","unresolved":false,"context_lines":[{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa1b9901_9cfa3e76","line":53,"updated":"2015-08-26 08:54:39.000000000","message":"you should never plan to return a 500 error, but I guess this is when an \"unexpected\" error occurs, which is exactly the case when this is meant to be used.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"9d3b7a9089406772e760ce47882a3b0b5ec4aff1","unresolved":false,"context_lines":[{"line_number":50,"context_line":"3. Retry initiated by API user"},{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9a1a9d01_b71028aa","line":53,"in_reply_to":"fa1b9901_9cfa3e76","updated":"2015-09-24 14:23:34.000000000","message":"Perhaps it would be better to say raise an appropriate error based on the error that occurs. This part will be removed based on input from Hemanth above.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"8a0c60204bdf31b758d02a578eb1d2de76b09825","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a4dcd0f_6a52a76a","line":54,"updated":"2015-08-13 17:52:52.000000000","message":"If you have to submit a revision, please change \"meatdata\" to \"metadata\".","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"ad6c0f9360ece30c64e4185336553ba78b8a3514","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    a) attempt to cleanup any locations that still exist (should be none)"},{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a4dcd0f_ad23dfbd","line":54,"in_reply_to":"1a4dcd0f_6a52a76a","updated":"2015-08-13 21:57:39.000000000","message":"lol, meat data","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":6804,"name":"bruce-benjamin","email":"bruce.benjamin@jhuapl.edu","username":"bruce-benjamin"},"change_message_id":"9c258e4f9be685f0b52cf852367d326b550db8e1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa1b9901_08ebe5b1","line":55,"updated":"2015-08-21 22:29:05.000000000","message":"After it\u0027s implemented, you could consider augmenting your design by using this Glance Image Signing and Verification feature https://review.openstack.org/#/c/177948/","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"48a301841180a13ae8b904f63640247e6ae57be1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa1b9901_8e4a9dab","line":55,"in_reply_to":"fa1b9901_08ebe5b1","updated":"2015-08-21 23:38:45.000000000","message":"I need to read through that spec. I was wondering aloud to Hemanth this past week or so that we should pass the sha up front as part of the immutable contract. You can retry as many times as you like. You only need to verify once it succeeds that the sha matches. If it doesn\u0027t it does not go active. Once it has been verified it can go active and any retry at that point would be a no-op (or error) since there\u0027s no point of uploading if it\u0027s already there. I was curious if we got this for free with the aforementioned spec.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"9d3b7a9089406772e760ce47882a3b0b5ec4aff1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        i.  on failure, stay in killed"},{"line_number":53,"context_line":"        ii. on failure, return error code 500"},{"line_number":54,"context_line":"    b) no change to meatdata is required other than state update"},{"line_number":55,"context_line":"4. Start uploading"},{"line_number":56,"context_line":"5. Success"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9a1a9d01_ba87add6","line":55,"in_reply_to":"fa1b9901_8e4a9dab","updated":"2015-09-24 14:23:34.000000000","message":"I\u0027ll put a note here leveraging image signing and verification.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"27e8be9d2f8070c6a60fdf0310dd3d6523baf5db","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"I don\u0027t believe this is possible, but we need to ensure that a bad actor"},{"line_number":84,"context_line":"cannot sneak in and upload malicious data for the retry fooling the system into"},{"line_number":85,"context_line":"thinking that the malicious data was a successful retry."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Notifications impact"},{"line_number":88,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa1b9901_1c74eefb","line":85,"updated":"2015-08-26 08:54:39.000000000","message":"While the bad actor (man in the middle, I guess?) could try and send a terminal packet after the uploading server hits a timeout, its a small window, and I think the SHA validation reduces the chances of success even further.","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"9208eacdbc14a124d27c5c4e5a1af83bdc9fa933","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"I don\u0027t believe this is possible, but we need to ensure that a bad actor"},{"line_number":84,"context_line":"cannot sneak in and upload malicious data for the retry fooling the system into"},{"line_number":85,"context_line":"thinking that the malicious data was a successful retry."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Notifications impact"},{"line_number":88,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da20952f_43c41c5e","line":85,"in_reply_to":"fa1b9901_1c74eefb","updated":"2015-08-27 23:13:18.000000000","message":"+1","commit_id":"cf3961dda3592b3bef7df61240ff51326d3c8099"}],"specs/mitaka/upload-retry.rst":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"8e811b5e4cb882b5009701a24993064c489654b2","unresolved":false,"context_lines":[{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"A request to upload an image for which a previous attempt failed will be"},{"line_number":38,"context_line":"retried (both v1 and v2)."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Do not treat killed as a terminal status. Instead allow killed to transition"},{"line_number":41,"context_line":"back to queued status on image upload attempt."}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a1a9d01_849f9002","line":38,"updated":"2015-10-05 05:41:05.000000000","message":"I\u0027d like this to be a v2 thing only. V1 is in the supported phase and we\u0027ve been accepting only critical/high/security fixes. (Really in a case-by-case basis but not new features)","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":11642,"name":"Jesse J. Cook","email":"jesse.cook@rackspace.com","username":"crashenx"},"change_message_id":"0c528902f21de42b01e29f7d4772006818fdbaba","unresolved":false,"context_lines":[{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"A request to upload an image for which a previous attempt failed will be"},{"line_number":38,"context_line":"retried (both v1 and v2)."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Do not treat killed as a terminal status. Instead allow killed to transition"},{"line_number":41,"context_line":"back to queued status on image upload attempt."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_e1f97b81","line":38,"in_reply_to":"7a2fa921_6664a121","updated":"2015-10-07 22:08:40.000000000","message":"Yeah, the whole point is that Nova cannot retry.","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8d2603882dd37175961ca23568720161704a7f76","unresolved":false,"context_lines":[{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"A request to upload an image for which a previous attempt failed will be"},{"line_number":38,"context_line":"retried (both v1 and v2)."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Do not treat killed as a terminal status. Instead allow killed to transition"},{"line_number":41,"context_line":"back to queued status on image upload attempt."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_6664a121","line":38,"in_reply_to":"7a2fa921_b7243eaf","updated":"2015-10-07 21:49:19.000000000","message":"Since nova hasn\u0027t moved to v2 yet, do we get the real benefit of this change if it\u0027s not in v1?","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":6804,"name":"bruce-benjamin","email":"bruce.benjamin@jhuapl.edu","username":"bruce-benjamin"},"change_message_id":"6ecca88102bad38f7ad21dc6cc3ef04dec75c5ca","unresolved":false,"context_lines":[{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"A request to upload an image for which a previous attempt failed will be"},{"line_number":38,"context_line":"retried (both v1 and v2)."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Do not treat killed as a terminal status. Instead allow killed to transition"},{"line_number":41,"context_line":"back to queued status on image upload attempt."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_b7243eaf","line":38,"in_reply_to":"9a1a9d01_849f9002","updated":"2015-10-07 13:56:48.000000000","message":"Agreed","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"8e811b5e4cb882b5009701a24993064c489654b2","unresolved":false,"context_lines":[{"line_number":51,"context_line":"2. Error occurs"},{"line_number":52,"context_line":"    a) ensure that no orphaned data is left in object store"},{"line_number":53,"context_line":"        i. if this is not current behavior, it should be addressed"},{"line_number":54,"context_line":"3. Retry initiated by API user"},{"line_number":55,"context_line":"    a) no change to metadata is required other than state update"},{"line_number":56,"context_line":"4. Start uploading"},{"line_number":57,"context_line":"    a) new signatures are rejected; the signature is immutable"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a1a9d01_a4a2d449","line":54,"updated":"2015-10-05 05:41:05.000000000","message":"I\u0027m not sure I understand this step. Is this referring to a new \u0027retry\u0027 action that will change the  image state? Or just the image-upload is re-started and the state updated?","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8d2603882dd37175961ca23568720161704a7f76","unresolved":false,"context_lines":[{"line_number":51,"context_line":"2. Error occurs"},{"line_number":52,"context_line":"    a) ensure that no orphaned data is left in object store"},{"line_number":53,"context_line":"        i. if this is not current behavior, it should be addressed"},{"line_number":54,"context_line":"3. Retry initiated by API user"},{"line_number":55,"context_line":"    a) no change to metadata is required other than state update"},{"line_number":56,"context_line":"4. Start uploading"},{"line_number":57,"context_line":"    a) new signatures are rejected; the signature is immutable"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_fa404ca7","line":54,"in_reply_to":"9a1a9d01_a4a2d449","updated":"2015-10-07 21:49:19.000000000","message":"The latter. It\u0027s just user trying to upload the data again.","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"8e811b5e4cb882b5009701a24993064c489654b2","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    a) ensure that no orphaned data is left in object store"},{"line_number":53,"context_line":"        i. if this is not current behavior, it should be addressed"},{"line_number":54,"context_line":"3. Retry initiated by API user"},{"line_number":55,"context_line":"    a) no change to metadata is required other than state update"},{"line_number":56,"context_line":"4. Start uploading"},{"line_number":57,"context_line":"    a) new signatures are rejected; the signature is immutable"},{"line_number":58,"context_line":"    b) if the image is ACTIVE, the operation is a NOP"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a1a9d01_448ad8c0","line":55,"updated":"2015-10-05 05:41:05.000000000","message":"I\u0027d assume the state update would be done by the glance-api itself. right?","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8d2603882dd37175961ca23568720161704a7f76","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    a) ensure that no orphaned data is left in object store"},{"line_number":53,"context_line":"        i. if this is not current behavior, it should be addressed"},{"line_number":54,"context_line":"3. Retry initiated by API user"},{"line_number":55,"context_line":"    a) no change to metadata is required other than state update"},{"line_number":56,"context_line":"4. Start uploading"},{"line_number":57,"context_line":"    a) new signatures are rejected; the signature is immutable"},{"line_number":58,"context_line":"    b) if the image is ACTIVE, the operation is a NOP"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_ba2174fd","line":55,"in_reply_to":"9a1a9d01_448ad8c0","updated":"2015-10-07 21:49:19.000000000","message":"Yes, glance-api would update the status.","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"8e811b5e4cb882b5009701a24993064c489654b2","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Killed is not a terminal state. An image in killed status can be resurrected"},{"line_number":84,"context_line":"(i.e. transition to queued) by retrying upload of the image in killed status."},{"line_number":85,"context_line":"Therefore, data uploaded to a killed image will no longer result in a 409."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Security impact"},{"line_number":88,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a1a9d01_64859cab","line":85,"updated":"2015-10-05 05:41:05.000000000","message":"This will require a version bump","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8d2603882dd37175961ca23568720161704a7f76","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Killed is not a terminal state. An image in killed status can be resurrected"},{"line_number":84,"context_line":"(i.e. transition to queued) by retrying upload of the image in killed status."},{"line_number":85,"context_line":"Therefore, data uploaded to a killed image will no longer result in a 409."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Security impact"},{"line_number":88,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_ba4f34bc","line":85,"in_reply_to":"9a1a9d01_64859cab","updated":"2015-10-07 21:49:19.000000000","message":"+1","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"8e811b5e4cb882b5009701a24993064c489654b2","unresolved":false,"context_lines":[{"line_number":98,"context_line":"--------------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Now that an image upload can be retried, certain notifications like"},{"line_number":101,"context_line":"image.prepare and image.upload may appear twice for a re-tried image."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Other end user impact"},{"line_number":104,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9a1a9d01_0494e0df","line":101,"updated":"2015-10-05 05:41:05.000000000","message":"I wonder if we need to store the retry information somewhere.","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"8d2603882dd37175961ca23568720161704a7f76","unresolved":false,"context_lines":[{"line_number":98,"context_line":"--------------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Now that an image upload can be retried, certain notifications like"},{"line_number":101,"context_line":"image.prepare and image.upload may appear twice for a re-tried image."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Other end user impact"},{"line_number":104,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7a2fa921_fa6e0c2e","line":101,"in_reply_to":"9a1a9d01_0494e0df","updated":"2015-10-07 21:49:19.000000000","message":"Storing as in, do you want to store it persistently? \nIf not, how about a \u0027.retry\u0027 notification?","commit_id":"9dafc2437a793a01232eece86dde2d67f2906c4a"}]}
