)]}'
{"specs/victoria/approved/rbd-glance-multistore.rst":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"9e6688a868cbba1bab1ef5e6fecaa750167710be","unresolved":false,"context_lines":[{"line_number":75,"context_line":"RBD imagebackend code so that it can use this image copying API when"},{"line_number":76,"context_line":"needed. Currently, we already look at all the image locations to find"},{"line_number":77,"context_line":"which one matches our Ceph cluster, and then use that to do the"},{"line_number":78,"context_line":"clone. After this spec is implemented, that code will still examine"},{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_c1c8df75","line":80,"range":{"start_line":78,"start_character":54,"end_line":80,"end_character":38},"updated":"2020-05-26 15:58:53.000000000","message":"If there are multiple possible places from where nova-compute can use the image but none of them has the image, then nova ask glance to import the image to one of the accessible places, but which one? The first one or will it be configurable?","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"db11826882cbaf840bbc63e2b89c0aef81ca9798","unresolved":false,"context_lines":[{"line_number":75,"context_line":"RBD imagebackend code so that it can use this image copying API when"},{"line_number":76,"context_line":"needed. Currently, we already look at all the image locations to find"},{"line_number":77,"context_line":"which one matches our Ceph cluster, and then use that to do the"},{"line_number":78,"context_line":"clone. After this spec is implemented, that code will still examine"},{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_e9833e03","line":80,"range":{"start_line":78,"start_character":54,"end_line":80,"end_character":38},"in_reply_to":"ff570b3c_810c2743","updated":"2020-05-27 07:49:12.000000000","message":"Thanks. I guess what confused me was the \"examine all the current locations\" that implied to me that nova has access to more than one places. \n\nI\u0027m OK about the configuration of the backend name","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"78815b5b110fc16a8fe32330399f9608f1dee05c","unresolved":false,"context_lines":[{"line_number":75,"context_line":"RBD imagebackend code so that it can use this image copying API when"},{"line_number":76,"context_line":"needed. Currently, we already look at all the image locations to find"},{"line_number":77,"context_line":"which one matches our Ceph cluster, and then use that to do the"},{"line_number":78,"context_line":"clone. After this spec is implemented, that code will still examine"},{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_810c2743","line":80,"range":{"start_line":78,"start_character":54,"end_line":80,"end_character":38},"in_reply_to":"ff570b3c_c1c8df75","updated":"2020-05-26 16:11:09.000000000","message":"Nova only has access to one of those places, i.e. the ceph cluster it\u0027s pointed at. So nova asks glance to copy it to that one. The only thing we need that we don\u0027t have today is for nova to know what the name of the glance backend is that represents its cluster. We\u0027ll need to allow that to be configurable in nova. Glance doesn\u0027t expose that through the stores API (afaict) but in the future it\u0027s possible that we could get them to add something so we could detect the backend name based on the fsid we already get from ceph. This is described in the deployer impact section, btw.","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"9e6688a868cbba1bab1ef5e6fecaa750167710be","unresolved":false,"context_lines":[{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_41d04fca","line":82,"updated":"2020-05-26 15:58:53.000000000","message":"So by calling import with copy-image glance will start the copying. How nova will know when the import is finished?","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"78815b5b110fc16a8fe32330399f9608f1dee05c","unresolved":false,"context_lines":[{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_843f15b4","line":82,"in_reply_to":"ff570b3c_41d04fca","updated":"2020-05-26 16:11:09.000000000","message":"Glance reports this in two different ways. First is through a task, but only admins can see that. The task also doesn\u0027t give us all that much information other than \"preparing, copying, done\".\n\nThe second way is that any user can see some additional properties on the glance image that indicate it is being copied to a given store, which also provides an indication of completion or failure. So, nova will initiate the copy and then keep checking on the image to see when it is done/failed. This is described in the deployer impact section regarding the poll interval tuning, but I can add some more text here if you want.","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"db11826882cbaf840bbc63e2b89c0aef81ca9798","unresolved":false,"context_lines":[{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ff570b3c_e9985e6b","line":82,"in_reply_to":"ff570b3c_843f15b4","updated":"2020-05-27 07:49:12.000000000","message":"I think a simple sentence about the fact that nova will poll glance to see when the import is completed helps here to see the full picture. PS3 addition looks good to me.\n\nI\u0027m OK about the tuneables described later in the deployer section.","commit_id":"3175d58f807e6bcdc68fca77c7b2d3bb671321c4"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"1d383ce86720f860664e60001ef892de8a972e5e","unresolved":false,"context_lines":[{"line_number":78,"context_line":"clone. After this spec is implemented, that code will still examine"},{"line_number":79,"context_line":"all the *current* locations, and if none match, ask Glance to copy the"},{"line_number":80,"context_line":"image to the appropriate backend store so we can continue without"},{"line_number":81,"context_line":"failure or other undesirable behavior."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"In the case where we do need Glance to copy the image to our store,"},{"line_number":84,"context_line":"Nova can monitor the progress of the operation through special image"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_cbf2b506","line":81,"updated":"2020-05-26 23:46:08.000000000","message":"Makes sense","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"1d383ce86720f860664e60001ef892de8a972e5e","unresolved":false,"context_lines":[{"line_number":87,"context_line":"also provide notice when an import has failed (via"},{"line_number":88,"context_line":"``os_glance_failed_import``). Nova will need to poll the image,"},{"line_number":89,"context_line":"waiting for the process to complete, and some configuration knobs will"},{"line_number":90,"context_line":"be needed to allow for appropriate tuning."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Alternatives"},{"line_number":93,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_6beba911","line":90,"updated":"2020-05-26 23:46:08.000000000","message":"Configuration knobs like interval and timeout, I assume. Anything else?","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"4cca393a31c691e2ed4c68500fd31abada53edc4","unresolved":false,"context_lines":[{"line_number":87,"context_line":"also provide notice when an import has failed (via"},{"line_number":88,"context_line":"``os_glance_failed_import``). Nova will need to poll the image,"},{"line_number":89,"context_line":"waiting for the process to complete, and some configuration knobs will"},{"line_number":90,"context_line":"be needed to allow for appropriate tuning."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Alternatives"},{"line_number":93,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_b06d229b","line":90,"in_reply_to":"ff570b3c_6beba911","updated":"2020-05-27 13:52:02.000000000","message":"I think it\u0027s just going to be those two, but that\u0027s kind of an implementation detail. I\u0027ve thought about maybe trying to come up with some composite tunable that will attempt to scale back the polling based on image size or something, but I figure we can talk about that on the code patch. But, aside from the store name and some tunables that are context-sensitive to the code, that\u0027s it.","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"af8501dffd8a44b2cdab8b41ce2a6229323f11ed","unresolved":false,"context_lines":[{"line_number":87,"context_line":"also provide notice when an import has failed (via"},{"line_number":88,"context_line":"``os_glance_failed_import``). Nova will need to poll the image,"},{"line_number":89,"context_line":"waiting for the process to complete, and some configuration knobs will"},{"line_number":90,"context_line":"be needed to allow for appropriate tuning."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Alternatives"},{"line_number":93,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_9f3aa9c1","line":90,"in_reply_to":"ff570b3c_b06d229b","updated":"2020-05-27 17:02:44.000000000","message":"Sounds cool, I was just curious.","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"1d383ce86720f860664e60001ef892de8a972e5e","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Some additional configuration will be needed in order to make this"},{"line_number":147,"context_line":"work. Specifically, Nova will need to know the Glance store name that"},{"line_number":148,"context_line":"represents the RBD backend it is configured to use. Additionally,"},{"line_number":149,"context_line":"there will be some timeout tunables related to how often we poll the"},{"line_number":150,"context_line":"Glance server for status on the copy, as well as an overall timeout"},{"line_number":151,"context_line":"for how long we are willing to wait."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_2be1b12b","line":148,"updated":"2020-05-26 23:46:08.000000000","message":"Note to self: the glance store name will be needed in order to call the glance import API I assume. Nova currently already knows something about the rbd store it\u0027s configured to use, but only via the configured ceph conf in images_rbd_ceph_conf, which has nothing to do with glance obviously.","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"af8501dffd8a44b2cdab8b41ce2a6229323f11ed","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Some additional configuration will be needed in order to make this"},{"line_number":147,"context_line":"work. Specifically, Nova will need to know the Glance store name that"},{"line_number":148,"context_line":"represents the RBD backend it is configured to use. Additionally,"},{"line_number":149,"context_line":"there will be some timeout tunables related to how often we poll the"},{"line_number":150,"context_line":"Glance server for status on the copy, as well as an overall timeout"},{"line_number":151,"context_line":"for how long we are willing to wait."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_9f63c9dd","line":148,"in_reply_to":"ff570b3c_1054cec9","updated":"2020-05-27 17:02:44.000000000","message":"Ack, sounds consistent with my understanding.","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"4cca393a31c691e2ed4c68500fd31abada53edc4","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Some additional configuration will be needed in order to make this"},{"line_number":147,"context_line":"work. Specifically, Nova will need to know the Glance store name that"},{"line_number":148,"context_line":"represents the RBD backend it is configured to use. Additionally,"},{"line_number":149,"context_line":"there will be some timeout tunables related to how often we poll the"},{"line_number":150,"context_line":"Glance server for status on the copy, as well as an overall timeout"},{"line_number":151,"context_line":"for how long we are willing to wait."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff570b3c_1054cec9","line":148,"in_reply_to":"ff570b3c_2be1b12b","updated":"2020-05-27 13:52:02.000000000","message":"Nova only knows the rbd details and doesn\u0027t really know that glance knows about anything related to it until it is asked to boot an image, and sees that image has a location with the same fsid. So yeah, we need the glance store name because that\u0027s how glance\u0027s interface for copying images works. Glance can copy between more than just rbd stores, so just providing rbd details won\u0027t be enough.","commit_id":"6ce755f5ba392a62c7bf8bd664b1bbf1a987c77d"}]}
