)]}'
{"specs/train/approved/support-glance-multiple-backend.rst":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"655ff2bb05577c4728cc85229a935157400dfa56","unresolved":false,"context_lines":[{"line_number":25,"context_line":"image will be uploaded to default backend. This will not cause any issue unless"},{"line_number":26,"context_line":"nova is using ceph backend and glance has ceph backend as well but default"},{"line_number":27,"context_line":"backend is not ceph. This will affect nova\u0027s ability to use ceph backend for"},{"line_number":28,"context_line":"uploading snapshots in more efficient way. Same will be applicabel to backup"},{"line_number":29,"context_line":"API."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_be698525","line":28,"range":{"start_line":28,"start_character":56,"end_line":28,"end_character":66},"updated":"2019-03-26 23:48:09.000000000","message":"applicable","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c3108a9a82956f058bc1d832f83634be6e4e1477","unresolved":false,"context_lines":[{"line_number":25,"context_line":"image will be uploaded to default backend. This will not cause any issue unless"},{"line_number":26,"context_line":"nova is using ceph backend and glance has ceph backend as well but default"},{"line_number":27,"context_line":"backend is not ceph. This will affect nova\u0027s ability to use ceph backend for"},{"line_number":28,"context_line":"uploading snapshots in more efficient way. Same will be applicabel to backup"},{"line_number":29,"context_line":"API."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_f443a96a","line":28,"range":{"start_line":28,"start_character":56,"end_line":28,"end_character":66},"in_reply_to":"5fc1f717_be698525","updated":"2019-03-27 08:58:01.000000000","message":"Done","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"655ff2bb05577c4728cc85229a935157400dfa56","unresolved":false,"context_lines":[{"line_number":122,"context_line":"* Add ``backned`` support in snapshot API"},{"line_number":123,"context_line":"* Add ``backend`` support for \u0027nova image-create\u0027 in novaclient"},{"line_number":124,"context_line":"* Add ``backend`` support in backup API"},{"line_number":125,"context_line":"* Add ``backend`` suport for \u0027nova backup\u0027 in nova client"},{"line_number":126,"context_line":"* Add related tests"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_5ee2e1a1","line":125,"updated":"2019-03-26 23:48:09.000000000","message":"And osc, per community goal.","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c3108a9a82956f058bc1d832f83634be6e4e1477","unresolved":false,"context_lines":[{"line_number":122,"context_line":"* Add ``backned`` support in snapshot API"},{"line_number":123,"context_line":"* Add ``backend`` support for \u0027nova image-create\u0027 in novaclient"},{"line_number":124,"context_line":"* Add ``backend`` support in backup API"},{"line_number":125,"context_line":"* Add ``backend`` suport for \u0027nova backup\u0027 in nova client"},{"line_number":126,"context_line":"* Add related tests"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_341cd176","line":125,"in_reply_to":"5fc1f717_5ee2e1a1","updated":"2019-03-27 08:58:01.000000000","message":"Done","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"655ff2bb05577c4728cc85229a935157400dfa56","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"References"},{"line_number":144,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":145,"context_line":"None"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"History"},{"line_number":148,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_deced12b","line":145,"updated":"2019-03-26 23:48:09.000000000","message":"How about a link to the glance docs describing the capability?","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c3108a9a82956f058bc1d832f83634be6e4e1477","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"References"},{"line_number":144,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":145,"context_line":"None"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"History"},{"line_number":148,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5fc1f717_541f1d6b","line":145,"in_reply_to":"5fc1f717_deced12b","updated":"2019-03-27 08:58:01.000000000","message":"Done","commit_id":"eca0c6328475c3ccf35d95bfb8eeef0969bab725"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c29c9c219819fc84dbe6df638c08e47f7fe82c22","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"References"},{"line_number":145,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":146,"context_line":"* https://docs.openstack.org/glance/rocky/admin/multistores.html"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"History"},{"line_number":149,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5fc1f717_4c6f8927","line":146,"updated":"2019-03-27 14:52:54.000000000","message":"✔","commit_id":"15bf59a800fb6fd7114423a51adf6cb3219d7da2"},{"author":{"_account_id":28595,"name":"Victor Coutellier","email":"victor.coutellier@gmail.com","username":"alistarle"},"change_message_id":"42b829c028f7b57ab5c4ce001d343e7fb16ab667","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of nova snapshot if multiple backend is configured then the snapshot"},{"line_number":25,"context_line":"image will be uploaded to default backend. This will not cause any issue unless"},{"line_number":26,"context_line":"nova is using ceph backend and glance has ceph backend as well but default"},{"line_number":27,"context_line":"backend is not ceph. This will affect nova\u0027s ability to use ceph backend for"},{"line_number":28,"context_line":"uploading snapshots in more efficient way. Same will be applicable to backup"},{"line_number":29,"context_line":"API."}],"source_content_type":"text/x-rst","patch_set":5,"id":"dfbec78f_e8bb6fe2","line":26,"updated":"2019-05-04 21:04:34.000000000","message":"In the case of a direct_snapshot (so nova will use the \"add-location\" glance route directly), this is not the default backend who will be used if backend is not specified, but the first wich is handlable by the location url, according to this glance bug : https://bugs.launchpad.net/glance/+bug/1802587\n\nNote that today, until this glance bug resolved, nova direct_snapshot is broken when using glance multiple backend and always result to 400 Invalid location error","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"6b91d84225c783daba401bd3f87680b600c957a4","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of nova snapshot if multiple backend is configured then the snapshot"},{"line_number":25,"context_line":"image will be uploaded to default backend. This will not cause any issue unless"},{"line_number":26,"context_line":"nova is using ceph backend and glance has ceph backend as well but default"},{"line_number":27,"context_line":"backend is not ceph. This will affect nova\u0027s ability to use ceph backend for"},{"line_number":28,"context_line":"uploading snapshots in more efficient way. Same will be applicable to backup"},{"line_number":29,"context_line":"API."}],"source_content_type":"text/x-rst","patch_set":5,"id":"bfb3d3c7_31117dad","line":26,"in_reply_to":"dfbec78f_e8bb6fe2","updated":"2019-05-27 04:32:15.000000000","message":"We are planning to fix this bug during milestone1 release of train.","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"6b72c2c513acdb3464d997a30b278702e7ca7e39","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"If user chooses the \u0027backend\u0027 which is not configured in"},{"line_number":47,"context_line":"glance then glance will return with 404 NotFound error and the image which"},{"line_number":48,"context_line":"is created in \u0027queued\u0027 state while \u0027snapshot\u0027 or \u0027backup\u0027 operation will"},{"line_number":49,"context_line":"be deleted during the cleanup operation. The alternate way is, In the"},{"line_number":50,"context_line":"beginning before creating queued image, validate the \u0027backend\u0027 specified by"},{"line_number":51,"context_line":"end user using \u0027/v2/info/stores\u0027 discovery call of glance. If specified"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5fc1f717_b82c1499","line":48,"range":{"start_line":48,"start_character":29,"end_line":48,"end_character":34},"updated":"2019-03-28 14:04:17.000000000","message":"during the?","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":28595,"name":"Victor Coutellier","email":"victor.coutellier@gmail.com","username":"alistarle"},"change_message_id":"9b64a51510a8a607b1cfcd6edf876125f447bc3b","unresolved":false,"context_lines":[{"line_number":50,"context_line":"beginning before creating queued image, validate the \u0027backend\u0027 specified by"},{"line_number":51,"context_line":"end user using \u0027/v2/info/stores\u0027 discovery call of glance. If specified"},{"line_number":52,"context_line":"\u0027backend\u0027 is not present in the discovery response then whole operation will"},{"line_number":53,"context_line":"be skipped with 404 response to end user."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"End user can identify available \u0027backends\u0027 in glance using"},{"line_number":56,"context_line":"\u0027GET $IMAGE_API_URL/v2/info/stores\u0027 discovery call. It will return the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ffb9cba7_18a7a3a9","line":53,"updated":"2019-05-01 08:01:51.000000000","message":"What if the glance multistore feature not enabled at all (API version \u003c 2.7) and return a 404, does we return a 404 to the nova end user too ?","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"6b91d84225c783daba401bd3f87680b600c957a4","unresolved":false,"context_lines":[{"line_number":50,"context_line":"beginning before creating queued image, validate the \u0027backend\u0027 specified by"},{"line_number":51,"context_line":"end user using \u0027/v2/info/stores\u0027 discovery call of glance. If specified"},{"line_number":52,"context_line":"\u0027backend\u0027 is not present in the discovery response then whole operation will"},{"line_number":53,"context_line":"be skipped with 404 response to end user."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"End user can identify available \u0027backends\u0027 in glance using"},{"line_number":56,"context_line":"\u0027GET $IMAGE_API_URL/v2/info/stores\u0027 discovery call. It will return the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bfb3d3c7_d12901e6","line":53,"in_reply_to":"ffb9cba7_18a7a3a9","updated":"2019-05-27 04:32:15.000000000","message":"If multiple store feature is not enabled then it will not have any impact and it will work as it is.","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"6b72c2c513acdb3464d997a30b278702e7ca7e39","unresolved":false,"context_lines":[{"line_number":55,"context_line":"End user can identify available \u0027backends\u0027 in glance using"},{"line_number":56,"context_line":"\u0027GET $IMAGE_API_URL/v2/info/stores\u0027 discovery call. It will return the"},{"line_number":57,"context_line":"list of backends configured at glance side. The \"id\" field from the"},{"line_number":58,"context_line":"discovery response represents the configured backend. Following is the"},{"line_number":59,"context_line":"example of discover \u0027/v2/stores/info\u0027 response call::"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    GET $IMAGE_API_URL/v2/info/stores"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5fc1f717_d83240f2","line":58,"range":{"start_line":58,"start_character":67,"end_line":58,"end_character":70},"updated":"2019-03-28 14:04:17.000000000","message":"an","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"89ea1442d7114efb963c8b70845daa8c558949a4","unresolved":false,"context_lines":[{"line_number":82,"context_line":"\u0027file_1\u0027 is set as default backend then at present scenario all images of"},{"line_number":83,"context_line":"\u0027snapshot\u0027or \u0027backup\u0027 operation will always be uploaded to \u0027file_1\u0027 backend of"},{"line_number":84,"context_line":"glance."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Alternatives"},{"line_number":87,"context_line":"------------"},{"line_number":88,"context_line":"Add a new configuration option \u0027glance_backend\u0027 under \u0027glance\u0027 section to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bfb3d3c7_6e540022","line":85,"updated":"2019-05-24 19:07:31.000000000","message":"This is missing any details covering the impact of any of this on the virt drivers.\n\nFor example, with the libvirt driver there\u0027s zero support for storing snapshots in rbd while using an images_type other than rbd. I assume the other virt drivers also have limitations like this so this really needs to be reviewed and detailed here.","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"6b91d84225c783daba401bd3f87680b600c957a4","unresolved":false,"context_lines":[{"line_number":82,"context_line":"\u0027file_1\u0027 is set as default backend then at present scenario all images of"},{"line_number":83,"context_line":"\u0027snapshot\u0027or \u0027backup\u0027 operation will always be uploaded to \u0027file_1\u0027 backend of"},{"line_number":84,"context_line":"glance."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Alternatives"},{"line_number":87,"context_line":"------------"},{"line_number":88,"context_line":"Add a new configuration option \u0027glance_backend\u0027 under \u0027glance\u0027 section to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bfb3d3c7_f16be51a","line":85,"in_reply_to":"bfb3d3c7_6e540022","updated":"2019-05-27 04:32:15.000000000","message":"Lee,\n\nI am not sure it will have any impact on drivers. The solution is to take the base-image id, find which store the image belongs and upload the snapshot to that store only. I am not sure how any virt driver will affect due to this.\n\nCould you please let me help to understand the same?\n\nThank you!!!!","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"6b91d84225c783daba401bd3f87680b600c957a4","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Work Items"},{"line_number":161,"context_line":"----------"},{"line_number":162,"context_line":"* Add ``backned`` support in snapshot API"},{"line_number":163,"context_line":"* Add ``backend`` support for \u0027nova image-create\u0027 in python-novaclient"},{"line_number":164,"context_line":"* Add ``backend`` support in backup API"},{"line_number":165,"context_line":"* Add ``backend`` suport for \u0027nova backup\u0027 in python-novaclient"},{"line_number":166,"context_line":"* Add ``backend`` support for backup and snapshot in python-openstackclient"},{"line_number":167,"context_line":"* Add related tests"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bfb3d3c7_7169351f","line":167,"range":{"start_line":162,"start_character":0,"end_line":167,"end_character":19},"updated":"2019-05-27 04:32:15.000000000","message":"These work items needs to be changed.","commit_id":"2e3f009d8f4a79179bc2d51606a8f3b27f2b4849"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"53ac278075da32344e8f82d075d193926688f60b","unresolved":false,"context_lines":[{"line_number":38,"context_line":"Proposed change"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":40,"context_line":"In case if instance is created using image then it stores the image uuid as"},{"line_number":41,"context_line":"\u0027image_ref\u0027. When instance snapshot or backup is requested nova should"},{"line_number":42,"context_line":"identify the store using \u0027image_ref\u0027 in which original is stored, and should"},{"line_number":43,"context_line":"upload the snapshot or backup image to the same store."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"In case if instance is created using volume then the snapshot or backup image"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9fb8cfa7_6a4d5c98","line":42,"range":{"start_line":41,"start_character":13,"end_line":42,"end_character":65},"updated":"2019-07-02 11:30:47.000000000","message":"It would be nice to mention the glance API call that nova needs to make to identify the store.","commit_id":"a178fe4fc4dbf864a3665bb8c08f7cde006a6375"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"a4d7a170da4b182ad76fe623d55b031ec82536a0","unresolved":false,"context_lines":[{"line_number":40,"context_line":"In case if instance is created using image then it stores the image uuid as"},{"line_number":41,"context_line":"\u0027image_ref\u0027. When instance snapshot or backup is requested nova should"},{"line_number":42,"context_line":"identify the store using \u0027image_ref\u0027 in which original is stored, and should"},{"line_number":43,"context_line":"upload the snapshot or backup image to the same store."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"In case if instance is created using volume then the snapshot or backup image"},{"line_number":46,"context_line":"should be uploaded to default store configured in Glance."}],"source_content_type":"text/x-rst","patch_set":7,"id":"9fb8cfa7_cffa5ab8","line":43,"updated":"2019-07-02 09:37:24.000000000","message":"I am not 100% sure about this with a swift backend... totaly makes sense for ceph, in terms of avoiding a deep copy to a new ceph location.\n\nMaybe the default should depend on Nova\u0027s ephemeral disk backend. When its Ceph do what you describe here, but when its \"local\" disk you are doing a full copy into glance, so instead default to glance\u0027s default backend?\n\nEither way the user can go to glance and get the image via a uuid, and boot a new instance with that uuid, so it should be OK.","commit_id":"a178fe4fc4dbf864a3665bb8c08f7cde006a6375"}],"specs/ussuri/approved/support-glance-multiple-backend.rst":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":18,"context_line":"In Train, Glance has added the ability to configure multiple stores"},{"line_number":19,"context_line":"[1]_. This way an operator can configure more than one of similar or"},{"line_number":20,"context_line":"different kind of stores and use one as a default store. If a store"},{"line_number":21,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":22,"context_line":"will be stored in default store."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of Nova snapshot or backup, if no changes are made to Nova, even if"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_d0833fa9","line":21,"updated":"2020-02-10 12:52:36.000000000","message":"In glance, if the default store is \u0027file_1\u0027, can I set \u0027file_2\u0027 store as the default by nova that we do instance snapshot or backup?","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":18,"context_line":"In Train, Glance has added the ability to configure multiple stores"},{"line_number":19,"context_line":"[1]_. This way an operator can configure more than one of similar or"},{"line_number":20,"context_line":"different kind of stores and use one as a default store. If a store"},{"line_number":21,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":22,"context_line":"will be stored in default store."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of Nova snapshot or backup, if no changes are made to Nova, even if"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_3c470c7d","line":21,"in_reply_to":"3fa7e38b_d0833fa9","updated":"2020-02-10 15:24:43.000000000","message":"FWIW, You won\u0027t have to define anything in Nova for the default store.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"In Train, Glance has added the ability to configure multiple stores"},{"line_number":19,"context_line":"[1]_. This way an operator can configure more than one of similar or"},{"line_number":20,"context_line":"different kind of stores and use one as a default store. If a store"},{"line_number":21,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":22,"context_line":"will be stored in default store."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of Nova snapshot or backup, if no changes are made to Nova, even if"},{"line_number":25,"context_line":"multiple stores are configured then the snapshot or backup image will be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_10f79790","line":22,"range":{"start_line":20,"start_character":57,"end_line":22,"end_character":32},"updated":"2020-02-10 12:52:36.000000000","message":"If the operator doesnot set default store, what would happened? Is there a preferred strategy?","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"In Train, Glance has added the ability to configure multiple stores"},{"line_number":19,"context_line":"[1]_. This way an operator can configure more than one of similar or"},{"line_number":20,"context_line":"different kind of stores and use one as a default store. If a store"},{"line_number":21,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":22,"context_line":"will be stored in default store."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"In case of Nova snapshot or backup, if no changes are made to Nova, even if"},{"line_number":25,"context_line":"multiple stores are configured then the snapshot or backup image will be"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_1c425068","line":22,"range":{"start_line":20,"start_character":57,"end_line":22,"end_character":32},"in_reply_to":"3fa7e38b_10f79790","updated":"2020-02-10 15:24:43.000000000","message":"The strategy will be *always* defined by Glance.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Use Cases"},{"line_number":32,"context_line":"---------"},{"line_number":33,"context_line":"1. Operator wants to upload all the snapshot or backup images to one"},{"line_number":34,"context_line":"   specific/dedicated store in Glance."},{"line_number":35,"context_line":"2. Fast snapshot using ceph even ceph is not a default store in glance."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_903f0722","line":33,"range":{"start_line":33,"start_character":36,"end_line":33,"end_character":44},"updated":"2020-02-10 12:52:36.000000000","message":"snapshots","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Use Cases"},{"line_number":32,"context_line":"---------"},{"line_number":33,"context_line":"1. Operator wants to upload all the snapshot or backup images to one"},{"line_number":34,"context_line":"   specific/dedicated store in Glance."},{"line_number":35,"context_line":"2. Fast snapshot using ceph even ceph is not a default store in glance."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_bc5a1c4e","line":33,"range":{"start_line":33,"start_character":36,"end_line":33,"end_character":44},"in_reply_to":"3fa7e38b_903f0722","updated":"2020-02-10 15:24:43.000000000","message":"Abishek : please provide a follow-up","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":9373,"name":"Vlad Gusev","email":"vlad.esten@gmail.com","username":"s10"},"change_message_id":"0328c00bed6240a05bc5e57fc0ab36dd043b830b","unresolved":false,"context_lines":[{"line_number":39,"context_line":"In case if instance is created using image then it stores the image uuid as"},{"line_number":40,"context_line":"\u0027image_ref\u0027. When instance snapshot or backup is requested nova should"},{"line_number":41,"context_line":"pass the \u0027image_ref\u0027 as a header \u0027X-OpenStack-Base-Image-Ref\u0027 to glance, so"},{"line_number":42,"context_line":"that glance will identify in which store the base image is stored and use that"},{"line_number":43,"context_line":"same store to upload the instance snapshot or instance backup."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"In case if instance is created using volume then the snapshot or backup image"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_68c1b430","line":42,"updated":"2020-02-03 09:08:38.000000000","message":"Which store will be used, if instance was created from the image with two store locations? What could be done if operator doesn\u0027t want this image be uploaded to both stores? Will be a way to select preferred store in such case?\nWhich store will be selected if the original image was deleted and its locations list is empty?","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"89bd56f331fc1e9909ce7393523644c7bc30131e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"In case if instance is created using image then it stores the image uuid as"},{"line_number":40,"context_line":"\u0027image_ref\u0027. When instance snapshot or backup is requested nova should"},{"line_number":41,"context_line":"pass the \u0027image_ref\u0027 as a header \u0027X-OpenStack-Base-Image-Ref\u0027 to glance, so"},{"line_number":42,"context_line":"that glance will identify in which store the base image is stored and use that"},{"line_number":43,"context_line":"same store to upload the instance snapshot or instance backup."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"In case if instance is created using volume then the snapshot or backup image"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_c8e8e87f","line":42,"in_reply_to":"3fa7e38b_68c1b430","updated":"2020-02-03 09:19:51.000000000","message":"As per discussion during PTG, it\u0027s decided that nova will send base image reference Id and glance will upload the snapshot to all the stores where base image is present.\n\nIF base image is deleted then the snapshot will be uploaded to default glance_store.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":39,"context_line":"In case if instance is created using image then it stores the image uuid as"},{"line_number":40,"context_line":"\u0027image_ref\u0027. When instance snapshot or backup is requested nova should"},{"line_number":41,"context_line":"pass the \u0027image_ref\u0027 as a header \u0027X-OpenStack-Base-Image-Ref\u0027 to glance, so"},{"line_number":42,"context_line":"that glance will identify in which store the base image is stored and use that"},{"line_number":43,"context_line":"same store to upload the instance snapshot or instance backup."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"In case if instance is created using volume then the snapshot or backup image"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_1cb49080","line":42,"in_reply_to":"3fa7e38b_c8e8e87f","updated":"2020-02-10 15:24:43.000000000","message":"\u003e As per discussion during PTG, it\u0027s decided that nova will send base\n \u003e image reference Id and glance will upload the snapshot to all the\n \u003e stores where base image is present.\n \u003e \n \u003e IF base image is deleted then the snapshot will be uploaded to\n \u003e default glance_store.\n\nYeah we agreed on this one.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":49,"context_line":"------------"},{"line_number":50,"context_line":"* Add a new microversion to snapshot and backup API to support configuring to"},{"line_number":51,"context_line":"  upload the snapshot/backup image to specific store. I am proposing to add"},{"line_number":52,"context_line":"  new --store option to snapshot and backup API where user can specify to"},{"line_number":53,"context_line":"  which store snapshot/backend image will be uploaded. If --store option"},{"line_number":54,"context_line":"  is not specified then the image will be uploaded to default store."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_307f33df","line":52,"range":{"start_line":52,"start_character":6,"end_line":52,"end_character":13},"updated":"2020-02-10 12:52:36.000000000","message":"``--store``","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":49,"context_line":"------------"},{"line_number":50,"context_line":"* Add a new microversion to snapshot and backup API to support configuring to"},{"line_number":51,"context_line":"  upload the snapshot/backup image to specific store. I am proposing to add"},{"line_number":52,"context_line":"  new --store option to snapshot and backup API where user can specify to"},{"line_number":53,"context_line":"  which store snapshot/backend image will be uploaded. If --store option"},{"line_number":54,"context_line":"  is not specified then the image will be uploaded to default store."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_9c4de094","line":52,"range":{"start_line":52,"start_character":6,"end_line":52,"end_character":13},"in_reply_to":"3fa7e38b_307f33df","updated":"2020-02-10 15:24:43.000000000","message":"Follow-up patch (FUP) too please.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":50,"context_line":"* Add a new microversion to snapshot and backup API to support configuring to"},{"line_number":51,"context_line":"  upload the snapshot/backup image to specific store. I am proposing to add"},{"line_number":52,"context_line":"  new --store option to snapshot and backup API where user can specify to"},{"line_number":53,"context_line":"  which store snapshot/backend image will be uploaded. If --store option"},{"line_number":54,"context_line":"  is not specified then the image will be uploaded to default store."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"  If user chooses the \u0027store\u0027 which is not configured in"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_f0643b4f","line":53,"range":{"start_line":53,"start_character":58,"end_line":53,"end_character":65},"updated":"2020-02-10 12:52:36.000000000","message":"ditto","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":50,"context_line":"* Add a new microversion to snapshot and backup API to support configuring to"},{"line_number":51,"context_line":"  upload the snapshot/backup image to specific store. I am proposing to add"},{"line_number":52,"context_line":"  new --store option to snapshot and backup API where user can specify to"},{"line_number":53,"context_line":"  which store snapshot/backend image will be uploaded. If --store option"},{"line_number":54,"context_line":"  is not specified then the image will be uploaded to default store."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"  If user chooses the \u0027store\u0027 which is not configured in"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_5c31a809","line":53,"range":{"start_line":53,"start_character":58,"end_line":53,"end_character":65},"in_reply_to":"3fa7e38b_f0643b4f","updated":"2020-02-10 15:24:43.000000000","message":"ditto : FUP.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":96,"context_line":"* Add a new configuration option \u0027store\u0027 under \u0027glance\u0027 section to"},{"line_number":97,"context_line":"  upload all the snapshot/backup images to specified/dedicated store. If this"},{"line_number":98,"context_line":"  option is not defined then all the snapshot/backup images will be uploaded to"},{"line_number":99,"context_line":"  default store. This solution will be efficient if operator doesn\u0027t want to"},{"line_number":100,"context_line":"  expose the use of uploading snapshot image to specific store to end user."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_50474f7b","line":99,"range":{"start_line":99,"start_character":2,"end_line":99,"end_character":9},"updated":"2020-02-10 12:52:36.000000000","message":"nit: the default store?","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":96,"context_line":"* Add a new configuration option \u0027store\u0027 under \u0027glance\u0027 section to"},{"line_number":97,"context_line":"  upload all the snapshot/backup images to specified/dedicated store. If this"},{"line_number":98,"context_line":"  option is not defined then all the snapshot/backup images will be uploaded to"},{"line_number":99,"context_line":"  default store. This solution will be efficient if operator doesn\u0027t want to"},{"line_number":100,"context_line":"  expose the use of uploading snapshot image to specific store to end user."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_fc31740a","line":99,"range":{"start_line":99,"start_character":2,"end_line":99,"end_character":9},"in_reply_to":"3fa7e38b_50474f7b","updated":"2020-02-10 15:24:43.000000000","message":"ditto: FUP.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"0f84ba6060a38b4e5f00bbe84a1cca3a327d13d8","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Feature Liaison"},{"line_number":146,"context_line":"---------------"},{"line_number":147,"context_line":"Feature liaison:"},{"line_number":148,"context_line":"  Liaison Needed"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_dd175a53","line":148,"updated":"2020-01-31 10:52:05.000000000","message":"you can add me here","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"4ca21d8a93ffad34bf7a1891e297e82113a8c733","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Feature Liaison"},{"line_number":146,"context_line":"---------------"},{"line_number":147,"context_line":"Feature liaison:"},{"line_number":148,"context_line":"  Liaison Needed"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_bc1f7c6f","line":148,"in_reply_to":"3fa7e38b_889750eb","updated":"2020-02-10 15:24:43.000000000","message":"FUP again.","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"89bd56f331fc1e9909ce7393523644c7bc30131e","unresolved":false,"context_lines":[{"line_number":145,"context_line":"Feature Liaison"},{"line_number":146,"context_line":"---------------"},{"line_number":147,"context_line":"Feature liaison:"},{"line_number":148,"context_line":"  Liaison Needed"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_889750eb","line":148,"in_reply_to":"3fa7e38b_dd175a53","updated":"2020-02-03 09:19:51.000000000","message":"If i need to push another version then I will add you here.\n\nThank you!!","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"65848d00388535ca17b576e8157e1a512dcd6d44","unresolved":false,"context_lines":[{"line_number":174,"context_line":"History"},{"line_number":175,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":176,"context_line":".. list-table:: Revisions"},{"line_number":177,"context_line":"      :header-rows: 1"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"   * - Release Name"},{"line_number":180,"context_line":"     - Description"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3fa7e38b_b0fb2314","line":177,"range":{"start_line":177,"start_character":3,"end_line":177,"end_character":6},"updated":"2020-02-10 12:52:36.000000000","message":"Redundant indentation","commit_id":"01704d33957dc8a7ecfb0ee85feee1ea6740b540"}]}
