)]}'
{"specs/ussuri/copy-image-in-multiple-stores.rst":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":22,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":23,"context_line":"will be stored in default store."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"In case of cinder copying volume to image, if no changes are made to"},{"line_number":26,"context_line":"cinder, even if multiple stores are configured then the image will be"},{"line_number":27,"context_line":"uploaded to default store. This does not cause any issues, but does not"},{"line_number":28,"context_line":"allow an operator to take advantage of Glance multiple stores."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Use Cases"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_b7514e10","line":28,"range":{"start_line":25,"start_character":0,"end_line":28,"end_character":62},"updated":"2019-12-17 13:36:58.000000000","message":"You need to be a bit more specific here about the problem.  This is the same as the second paragraph of the support-glance-multiple-backend spec.  Since that one\u0027s been approved, Cinder is on track to take advantage of Glance multiple stores via the volume-type.  What you need to say here is that volume-type store specification is nice, but it doesn\u0027t allow for co-location (unless the image was already in the glance store defined by that volume-type).  Also, it depends on the operator configuring the volume-type extra-specs to define a preferred Glance store; if the operator doesn\u0027t take this step, all uploads go to the default Glance store.\n\nAlso mention somewhere that the way Cinder gets the store_id from the volume-type extra-specs to Glance is via the \u0027x-image-meta-store\u0027 header.","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":22,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":23,"context_line":"will be stored in default store."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"In case of cinder copying volume to image, if no changes are made to"},{"line_number":26,"context_line":"cinder, even if multiple stores are configured then the image will be"},{"line_number":27,"context_line":"uploaded to default store. This does not cause any issues, but does not"},{"line_number":28,"context_line":"allow an operator to take advantage of Glance multiple stores."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Use Cases"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_63630e1b","line":28,"range":{"start_line":25,"start_character":0,"end_line":28,"end_character":62},"in_reply_to":"3fa7e38b_b7514e10","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":33,"context_line":"1. At the moment, if cloud provider decided to upgrade their cloud to Train"},{"line_number":34,"context_line":"   release to use the ability of glance of configuring multiple store and the"},{"line_number":35,"context_line":"   base image from which volume is created resides in multiple stores"},{"line_number":36,"context_line":"   of glance, then when image created from volume will always be uploaded to"},{"line_number":37,"context_line":"   default store and there is no way to replicate/copy these image bits"},{"line_number":38,"context_line":"   to all the stores where base image is uploaded. As a result, operators"},{"line_number":39,"context_line":"   today need to perform a number of manual steps in order to replicate/copy"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_179b82c8","line":36,"range":{"start_line":36,"start_character":19,"end_line":36,"end_character":23},"updated":"2019-12-17 13:36:58.000000000","message":"s/when/if the operator has not defined a glance store in the volume-type extra specs, the/","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":33,"context_line":"1. At the moment, if cloud provider decided to upgrade their cloud to Train"},{"line_number":34,"context_line":"   release to use the ability of glance of configuring multiple store and the"},{"line_number":35,"context_line":"   base image from which volume is created resides in multiple stores"},{"line_number":36,"context_line":"   of glance, then when image created from volume will always be uploaded to"},{"line_number":37,"context_line":"   default store and there is no way to replicate/copy these image bits"},{"line_number":38,"context_line":"   to all the stores where base image is uploaded. As a result, operators"},{"line_number":39,"context_line":"   today need to perform a number of manual steps in order to replicate/copy"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_03681af2","line":36,"range":{"start_line":36,"start_character":19,"end_line":36,"end_character":23},"in_reply_to":"3fa7e38b_179b82c8","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":40,"context_line":"   image bits on glance stores despite using the \u0027enabled_backends\u0027"},{"line_number":41,"context_line":"   configuration option. For this purpose, he/she need to manually copy"},{"line_number":42,"context_line":"   the newly created image from volume in all stores and register these"},{"line_number":43,"context_line":"   others locations URL with the image using the glance API."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Proposed change"},{"line_number":46,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_97d4524d","line":43,"updated":"2019-12-17 13:36:58.000000000","message":"OK, I get it now.  The issue is that with \"edge\" configurations, operators will want to have images stored in multiple stores in order to get the image as close as possible to the place(s) it will be consumed.  Uploading to the default store, or even to the volume-type-defined store, will only put the image in one store, and Glance doesn\u0027t have sufficient information (since this is a brand-new image) about where else the image should go.  If this uploaded volume has initially been created from an image, Glance would like to put the new image in all the same stores as the original image.","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":40,"context_line":"   image bits on glance stores despite using the \u0027enabled_backends\u0027"},{"line_number":41,"context_line":"   configuration option. For this purpose, he/she need to manually copy"},{"line_number":42,"context_line":"   the newly created image from volume in all stores and register these"},{"line_number":43,"context_line":"   others locations URL with the image using the glance API."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Proposed change"},{"line_number":46,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_c33682e9","line":43,"in_reply_to":"3fa7e38b_97d4524d","updated":"2019-12-18 06:55:08.000000000","message":"Right.","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Proposed change"},{"line_number":46,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_f7cca6bf","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":24},"updated":"2019-12-17 13:36:58.000000000","message":"You want to be clear here that this is already existing functionality.  Maybe, \"When a volume is created from an image, Cinder currently stores the image_uuid in the volume_image_metadata.\"","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Proposed change"},{"line_number":46,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_a32d8690","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":24},"in_reply_to":"3fa7e38b_f7cca6bf","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"},{"line_number":53,"context_line":"also storing this glance store information in volume types [2]_, where the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_3768fe86","line":50,"range":{"start_line":50,"start_character":17,"end_line":50,"end_character":27},"updated":"2019-12-17 13:36:58.000000000","message":"you can say image_uuid here (that\u0027s what it\u0027s stored as)","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"},{"line_number":53,"context_line":"also storing this glance store information in volume types [2]_, where the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_43485261","line":50,"range":{"start_line":50,"start_character":17,"end_line":50,"end_character":27},"in_reply_to":"3fa7e38b_3768fe86","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"},{"line_number":53,"context_line":"also storing this glance store information in volume types [2]_, where the"},{"line_number":54,"context_line":"store identifier associated with volume type will be passed as a header"},{"line_number":55,"context_line":"\u0027x-image-meta-store\u0027 to glance to upload the image created from volume to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_17d38239","line":52,"range":{"start_line":51,"start_character":23,"end_line":52,"end_character":63},"updated":"2019-12-17 13:36:58.000000000","message":"We don\u0027t need to know what Glance is going to do for the purposes of this spec.  I suggest \"can identify the store(s) in which the original image is located\"--it\u0027s up to Glance to do whatever it wants with this info.  The key thing is to get the info to Glance.","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":48,"context_line":"In case if volume is created using image then it stores the image uuid in"},{"line_number":49,"context_line":"\u0027volume_image_metadata\u0027. When Cinder upload volume to image is requested cinder"},{"line_number":50,"context_line":"should pass the \u0027image uuid\u0027 as a header \u0027x-openstack-base-image-ref\u0027 to"},{"line_number":51,"context_line":"glance, so that glance will identify in which store the base image is stored"},{"line_number":52,"context_line":"and use that same store to upload the image created from volume. Cinder is"},{"line_number":53,"context_line":"also storing this glance store information in volume types [2]_, where the"},{"line_number":54,"context_line":"store identifier associated with volume type will be passed as a header"},{"line_number":55,"context_line":"\u0027x-image-meta-store\u0027 to glance to upload the image created from volume to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_e3385ecc","line":52,"range":{"start_line":51,"start_character":23,"end_line":52,"end_character":63},"in_reply_to":"3fa7e38b_17d38239","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"dabd7321dd4a52ba9b5587c41597fc55e1cf7ac1","unresolved":false,"context_lines":[{"line_number":55,"context_line":"\u0027x-image-meta-store\u0027 to glance to upload the image created from volume to"},{"line_number":56,"context_line":"that specific store."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"If volume is created from image and Cinder passes both"},{"line_number":59,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information is also available in"},{"line_number":60,"context_line":"volume type then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":61,"context_line":"and will continue store associated with volume type."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"If volume is not bootable and store information is available in"},{"line_number":64,"context_line":"volume type then glance will use store associated with volume type to upload"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_17062287","line":61,"range":{"start_line":58,"start_character":0,"end_line":61,"end_character":52},"updated":"2019-12-17 13:36:58.000000000","message":"I think this should be stated solely in Glance terms, because you are stating an Image API v2 contract here.  Something like \"If a volume is created from an image and Cinder passes both the \u0027x-image-meta-store\u0027 and \u0027x-openstack-base-image-ref\u0027 headers, Glance will ignore the \u0027x-openstack-base-image-ref\u0027 header and will use the store_id specified in the \u0027x-image-meta-store\u0027 header.\"\n\nThis makes it clear to operators that if you define a store_id in the volume-type extra-specs, it will definitely be honored.  Hence, operators interested in image co-location will probably not define the extra-spec (or they won\u0027t define it for \"edge\" volume-types).","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0784d68b55e152435e8f5106734cc8e18d6fca0d","unresolved":false,"context_lines":[{"line_number":55,"context_line":"\u0027x-image-meta-store\u0027 to glance to upload the image created from volume to"},{"line_number":56,"context_line":"that specific store."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"If volume is created from image and Cinder passes both"},{"line_number":59,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information is also available in"},{"line_number":60,"context_line":"volume type then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":61,"context_line":"and will continue store associated with volume type."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"If volume is not bootable and store information is available in"},{"line_number":64,"context_line":"volume type then glance will use store associated with volume type to upload"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3fa7e38b_8345ea46","line":61,"range":{"start_line":58,"start_character":0,"end_line":61,"end_character":52},"in_reply_to":"3fa7e38b_17062287","updated":"2019-12-18 06:55:08.000000000","message":"Done","commit_id":"4aa49dbe53b3e653260d5985a9cd17168695ed8d"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":22,"context_line":"is not specified at the time of uploading an image then the image"},{"line_number":23,"context_line":"will be stored in default store."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"In Train, I have proposed a spec [2]_ where cinder can specify the glance"},{"line_number":26,"context_line":"store via the volume-type. The store specified in volume-type will be"},{"line_number":27,"context_line":"passed to glance using `x-image-meta-store` header. Even operator"},{"line_number":28,"context_line":"specifies the glance store identifier in volume-type it will only allow"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_0c300606","line":25,"range":{"start_line":25,"start_character":12,"end_line":25,"end_character":16},"updated":"2019-12-24 09:58:52.000000000","message":"had","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"In Train, I have proposed a spec [2]_ where cinder can specify the glance"},{"line_number":26,"context_line":"store via the volume-type. The store specified in volume-type will be"},{"line_number":27,"context_line":"passed to glance using `x-image-meta-store` header. Even operator"},{"line_number":28,"context_line":"specifies the glance store identifier in volume-type it will only allow"},{"line_number":29,"context_line":"volume image to be uploaded to single specified store and does not allow"},{"line_number":30,"context_line":"for co-location of the image. Also, it depends on the operator configuring"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_ac0f7237","line":27,"range":{"start_line":27,"start_character":52,"end_line":27,"end_character":56},"updated":"2019-12-24 09:58:52.000000000","message":"When/ Even when","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":40,"context_line":"   of glance, then if the operator has not defined a glance store in the"},{"line_number":41,"context_line":"   volume-type extra specs, the image created from volume will always"},{"line_number":42,"context_line":"   be uploaded to default store and there is no way to replicate/copy these"},{"line_number":43,"context_line":"   image bits to all the stores where base image is uploaded. As a result,"},{"line_number":44,"context_line":"   operators today need to perform a number of manual steps in order"},{"line_number":45,"context_line":"   to replicate/copy image bits on glance stores despite using the"},{"line_number":46,"context_line":"   \u0027enabled_backends\u0027 configuration option. For this purpose, he/she need"},{"line_number":47,"context_line":"   to manually copy the newly created image from volume in all stores and"},{"line_number":48,"context_line":"   register these others locations URL with the image using the glance API."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"},{"line_number":51,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_5f0e9e33","line":48,"range":{"start_line":43,"start_character":62,"end_line":48,"end_character":75},"updated":"2019-12-24 09:58:52.000000000","message":"This seems to be the alternative of this feature i.e. Maybe should come in the Alternatives section","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"When a volume is created from an image, Cinder currently stores the"},{"line_number":54,"context_line":"image_uuid in the volume_image_metadata. When Cinder upload volume to"},{"line_number":55,"context_line":"image is requested cinder should pass the \u0027image_uuid\u0027 as a header"},{"line_number":56,"context_line":"\u0027x-openstack-base-image-ref\u0027 to glance, so that glance can identify the"},{"line_number":57,"context_line":"store(s) in which the original image is located. Cinder is also storing"},{"line_number":58,"context_line":"this glance store information in volume types [2]_, where the store"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_7f091a27","line":55,"range":{"start_line":55,"start_character":26,"end_line":55,"end_character":32},"updated":"2019-12-24 09:58:52.000000000","message":"will","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"image_uuid in the volume_image_metadata. When Cinder upload volume to"},{"line_number":55,"context_line":"image is requested cinder should pass the \u0027image_uuid\u0027 as a header"},{"line_number":56,"context_line":"\u0027x-openstack-base-image-ref\u0027 to glance, so that glance can identify the"},{"line_number":57,"context_line":"store(s) in which the original image is located. Cinder is also storing"},{"line_number":58,"context_line":"this glance store information in volume types [2]_, where the store"},{"line_number":59,"context_line":"identifier associated with volume-type will be passed as a header"},{"line_number":60,"context_line":"\u0027x-image-meta-store\u0027 to glance to upload the image created from volume to"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_df236ea9","line":57,"range":{"start_line":57,"start_character":48,"end_line":57,"end_character":49},"updated":"2019-12-24 09:58:52.000000000","message":"When","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"1efdc3d5fca810f90b6be51b4a702544381b3bc4","unresolved":false,"context_lines":[{"line_number":76,"context_line":"Alternatives"},{"line_number":77,"context_line":"------------"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Continue with passing store information using volume types [2]_."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Data model impact"},{"line_number":82,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3fa7e38b_3f5ac21d","line":79,"range":{"start_line":79,"start_character":0,"end_line":79,"end_character":64},"updated":"2019-12-24 09:58:52.000000000","message":"with specifying the store in the volume type also, we\u0027ve no way of determining in which store(s) does the base image reside.\nAlso would require changing volume type extra specs multiple times to update the store_id","commit_id":"f4254c0a77b07d511fdb9aa5576b293fbec63426"}],"specs/ussuri/image-snapshot-co-location.rst":[{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"   and wants a user to have the option to select which of these stores will be"},{"line_number":36,"context_line":"   used to store an image created from a Cinder volume."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"2. The base image from which volume is created is resides in multiple stores"},{"line_number":39,"context_line":"   and operator wants the image created from Cinder volume should also be"},{"line_number":40,"context_line":"   uploaded to all stores where the base image is stored."},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_38bb5cc4","line":38,"range":{"start_line":38,"start_character":47,"end_line":38,"end_character":49},"updated":"2019-11-22 10:35:46.000000000","message":"not needed","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":35,"context_line":"   and wants a user to have the option to select which of these stores will be"},{"line_number":36,"context_line":"   used to store an image created from a Cinder volume."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"2. The base image from which volume is created is resides in multiple stores"},{"line_number":39,"context_line":"   and operator wants the image created from Cinder volume should also be"},{"line_number":40,"context_line":"   uploaded to all stores where the base image is stored."},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_9b5598fb","line":38,"range":{"start_line":38,"start_character":47,"end_line":38,"end_character":49},"in_reply_to":"3fa7e38b_38bb5cc4","updated":"2019-11-25 05:34:40.000000000","message":"Done","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"If volume is created from image and Cinder passes both"},{"line_number":56,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information is also available in"},{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_a30f2237","line":57,"range":{"start_line":57,"start_character":7,"end_line":57,"end_character":12},"updated":"2019-11-22 10:35:46.000000000","message":"type","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"If volume is created from image and Cinder passes both"},{"line_number":56,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information is also available in"},{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_3b402435","line":57,"range":{"start_line":57,"start_character":7,"end_line":57,"end_character":12},"in_reply_to":"3fa7e38b_a30f2237","updated":"2019-11-25 05:34:40.000000000","message":"Done","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"},{"line_number":61,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information in volume types then"},{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_78d1d4f7","line":60,"range":{"start_line":60,"start_character":52,"end_line":60,"end_character":59},"updated":"2019-11-22 10:35:46.000000000","message":"provide","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"},{"line_number":61,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information in volume types then"},{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_5b3ba0c6","line":60,"range":{"start_line":60,"start_character":52,"end_line":60,"end_character":59},"in_reply_to":"3fa7e38b_78d1d4f7","updated":"2019-11-25 05:34:40.000000000","message":"Done","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"},{"line_number":61,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information in volume types then"},{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If volume is not bootable and store information is available in"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_d8fb2878","line":61,"range":{"start_line":61,"start_character":61,"end_line":61,"end_character":66},"updated":"2019-11-22 10:35:46.000000000","message":"type","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"},{"line_number":61,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information in volume types then"},{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If volume is not bootable and store information is available in"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_7818f4cb","line":61,"range":{"start_line":60,"start_character":0,"end_line":61,"end_character":28},"updated":"2019-11-22 10:35:46.000000000","message":"when will this case occur? my thinking was if a volume is created from an image, it will always send image_id as header to glance during upload to image operation","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":57,"context_line":"volume types then glance will ignore the header \u0027x-openstack-base-image-ref\u0027"},{"line_number":58,"context_line":"and will continue store associated with volume type."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If volume is created from image and Cinder does not provode"},{"line_number":61,"context_line":"\u0027x-openstack-base-image-ref\u0027 and store information in volume types then"},{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If volume is not bootable and store information is available in"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_fb45ac44","line":61,"range":{"start_line":60,"start_character":0,"end_line":61,"end_character":28},"in_reply_to":"3fa7e38b_7818f4cb","updated":"2019-11-25 05:34:40.000000000","message":"correct","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If volume is not bootable and store information is available in"},{"line_number":65,"context_line":"volume types then glance will use store associated with volume type to upload"},{"line_number":66,"context_line":"the image created from volume."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"If volume is not bootable and store information is not available in"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_95125957","line":65,"range":{"start_line":65,"start_character":7,"end_line":65,"end_character":12},"updated":"2019-11-22 10:35:46.000000000","message":"type","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":62,"context_line":"glance will use \u0027default store\u0027 to upload the image created from volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If volume is not bootable and store information is available in"},{"line_number":65,"context_line":"volume types then glance will use store associated with volume type to upload"},{"line_number":66,"context_line":"the image created from volume."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"If volume is not bootable and store information is not available in"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_1b41a836","line":65,"range":{"start_line":65,"start_character":7,"end_line":65,"end_character":12},"in_reply_to":"3fa7e38b_95125957","updated":"2019-11-25 05:34:40.000000000","message":"Done","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"206bc737737a5aceced9660a299c63f7f78d417b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"the image created from volume."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"If volume is not bootable and store information is not available in"},{"line_number":69,"context_line":"volume types then glance will use \u0027default store\u0027 to upload the image"},{"line_number":70,"context_line":"created from volume."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_ab64d8e5","line":69,"range":{"start_line":69,"start_character":7,"end_line":69,"end_character":12},"updated":"2019-11-22 10:35:46.000000000","message":"type","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c0981f529443634fbe29bd38faa69193d23899fc","unresolved":false,"context_lines":[{"line_number":66,"context_line":"the image created from volume."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"If volume is not bootable and store information is not available in"},{"line_number":69,"context_line":"volume types then glance will use \u0027default store\u0027 to upload the image"},{"line_number":70,"context_line":"created from volume."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_bb75f499","line":69,"range":{"start_line":69,"start_character":7,"end_line":69,"end_character":12},"in_reply_to":"3fa7e38b_ab64d8e5","updated":"2019-11-25 05:34:40.000000000","message":"Done","commit_id":"824f751467b3e1cb7e296c5925daa85eaf6c3119"}]}
