)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"5eaeaad0c616527dedb59b1a7cdd2ec9af699d76","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"f8e4ff8a_d79fc348","updated":"2026-10-05 14:39:03.000000000","message":"recheck","commit_id":"8acfe769f0390c015468804b8a682d2ab3d59422"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"7d0c9887416c2991f5fd6412e427bf12181a7bb4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"faf94199_e2d64a8a","updated":"2026-10-22 08:48:51.000000000","message":"recheck - dns should be fixed now","commit_id":"8acfe769f0390c015468804b8a682d2ab3d59422"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"a2f9f6e1f32d6e0a975bdd441b8b7978bec8606b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"92253fb2_88802a42","updated":"2026-10-22 14:38:14.000000000","message":"Looks better, let\u0027s see what CI says now :)","commit_id":"34a99f549b2a498c960c01fd574d8772e9433f2e"}],"plugins/modules/image.py":[{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"a046ab7747e275eaf840d4df5469c865318e72f6","unresolved":true,"context_lines":[{"line_number":519,"context_line":"        return self._wait_for_image_active(self.conn.get_image(image.id))"},{"line_number":520,"context_line":""},{"line_number":521,"context_line":"    def _import_uploaded_image(self, image):"},{"line_number":522,"context_line":"        return self._import_image(image, \u0027glance-direct\u0027)"},{"line_number":523,"context_line":""},{"line_number":524,"context_line":"    def run(self):"},{"line_number":525,"context_line":"        changed \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"c0ea9b42_ae49bc08","line":522,"updated":"2026-10-22 09:22:16.000000000","message":"Not sure about keeping this shim? We could just change the one call site to use _import_image with \u0027glance-direct\u0027 argument...","commit_id":"8acfe769f0390c015468804b8a682d2ab3d59422"},{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"5562ccbb6ecb7504cf7e7a0658bee2c7fe689620","unresolved":false,"context_lines":[{"line_number":519,"context_line":"        return self._wait_for_image_active(self.conn.get_image(image.id))"},{"line_number":520,"context_line":""},{"line_number":521,"context_line":"    def _import_uploaded_image(self, image):"},{"line_number":522,"context_line":"        return self._import_image(image, \u0027glance-direct\u0027)"},{"line_number":523,"context_line":""},{"line_number":524,"context_line":"    def run(self):"},{"line_number":525,"context_line":"        changed \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"e0bb42e9_51df5b86","line":522,"in_reply_to":"c0ea9b42_ae49bc08","updated":"2026-10-22 11:50:05.000000000","message":"Did that now, make things clearer IMO.","commit_id":"8acfe769f0390c015468804b8a682d2ab3d59422"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"c3f97fb34b9ef17efb485893b7c9e035ba5ea0ae","unresolved":true,"context_lines":[{"line_number":142,"context_line":"      - URL the Image service downloads the image data from."},{"line_number":143,"context_line":"      - Requires I(import_method\u003dweb-download), which is the default when"},{"line_number":144,"context_line":"        I(uri) is given, and a Glance with that import method enabled."},{"line_number":145,"context_line":"      - Mutually exclusive with I(filename) and I(volume). The image data"},{"line_number":146,"context_line":"        never passes through the Ansible controller."},{"line_number":147,"context_line":"    type: str"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"extends_documentation_fragment:"}],"source_content_type":"text/x-python","patch_set":3,"id":"c8037cab_7bfb548d","line":146,"range":{"start_line":145,"start_character":0,"end_line":146,"end_character":52},"updated":"2026-10-22 12:22:58.000000000","message":"I think that we need to mention that `use_import` is automatically set to `true` when `import_method` is defined?\n\nBut frankly - having them both is kinda confusing - what if user would do `use_import: false` but then `import_method: web-download`. I don\u0027t really see safeguards against that anywhere.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"36fb79767c7bd094f18e38c31c794ee42e13da40","unresolved":true,"context_lines":[{"line_number":142,"context_line":"      - URL the Image service downloads the image data from."},{"line_number":143,"context_line":"      - Requires I(import_method\u003dweb-download), which is the default when"},{"line_number":144,"context_line":"        I(uri) is given, and a Glance with that import method enabled."},{"line_number":145,"context_line":"      - Mutually exclusive with I(filename) and I(volume). The image data"},{"line_number":146,"context_line":"        never passes through the Ansible controller."},{"line_number":147,"context_line":"    type: str"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"extends_documentation_fragment:"}],"source_content_type":"text/x-python","patch_set":3,"id":"df47f0e5_48e04556","line":146,"range":{"start_line":145,"start_character":0,"end_line":146,"end_character":52},"in_reply_to":"c8037cab_7bfb548d","updated":"2026-10-22 13:36:33.000000000","message":"It is not, `use_import` is for uploads from filename.\n\nAdded a safeguard that require `uri` to be set when `import_method: web-download`.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"0edde80d9e8ac1e1a3267ebf7931b90fcb9a7e03","unresolved":false,"context_lines":[{"line_number":142,"context_line":"      - URL the Image service downloads the image data from."},{"line_number":143,"context_line":"      - Requires I(import_method\u003dweb-download), which is the default when"},{"line_number":144,"context_line":"        I(uri) is given, and a Glance with that import method enabled."},{"line_number":145,"context_line":"      - Mutually exclusive with I(filename) and I(volume). The image data"},{"line_number":146,"context_line":"        never passes through the Ansible controller."},{"line_number":147,"context_line":"    type: str"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"extends_documentation_fragment:"}],"source_content_type":"text/x-python","patch_set":3,"id":"7eb941d9_61a585bc","line":146,"range":{"start_line":145,"start_character":0,"end_line":146,"end_character":52},"in_reply_to":"df47f0e5_48e04556","updated":"2026-10-22 14:37:56.000000000","message":"Done","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"c3f97fb34b9ef17efb485893b7c9e035ba5ea0ae","unresolved":true,"context_lines":[{"line_number":555,"context_line":"                #     a41d04ea197439c2f134ce3554995693933a46ac/openstack/cloud/_image.py#L306"},{"line_number":556,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":557,"context_line":"                    # The image stays queued until it is imported from uri below"},{"line_number":558,"context_line":"                    attrs[\u0027wait\u0027] \u003d False"},{"line_number":559,"context_line":"                image \u003d self.conn.create_image(**attrs)"},{"line_number":560,"context_line":"                changed \u003d True"},{"line_number":561,"context_line":"                if not self.params[\u0027wait\u0027] and not self.params[\u0027uri\u0027]:"}],"source_content_type":"text/x-python","patch_set":3,"id":"f35082ef_201dbf06","line":558,"updated":"2026-10-22 12:22:58.000000000","message":"frankly I guess I\u0027d prefer to set here import_method as well then rather then hide in `_import_image` call.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"0edde80d9e8ac1e1a3267ebf7931b90fcb9a7e03","unresolved":false,"context_lines":[{"line_number":555,"context_line":"                #     a41d04ea197439c2f134ce3554995693933a46ac/openstack/cloud/_image.py#L306"},{"line_number":556,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":557,"context_line":"                    # The image stays queued until it is imported from uri below"},{"line_number":558,"context_line":"                    attrs[\u0027wait\u0027] \u003d False"},{"line_number":559,"context_line":"                image \u003d self.conn.create_image(**attrs)"},{"line_number":560,"context_line":"                changed \u003d True"},{"line_number":561,"context_line":"                if not self.params[\u0027wait\u0027] and not self.params[\u0027uri\u0027]:"}],"source_content_type":"text/x-python","patch_set":3,"id":"f91275c6_5205b1a6","line":558,"in_reply_to":"968e5b4e_cd20a695","updated":"2026-10-22 14:37:56.000000000","message":"Done","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"36fb79767c7bd094f18e38c31c794ee42e13da40","unresolved":true,"context_lines":[{"line_number":555,"context_line":"                #     a41d04ea197439c2f134ce3554995693933a46ac/openstack/cloud/_image.py#L306"},{"line_number":556,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":557,"context_line":"                    # The image stays queued until it is imported from uri below"},{"line_number":558,"context_line":"                    attrs[\u0027wait\u0027] \u003d False"},{"line_number":559,"context_line":"                image \u003d self.conn.create_image(**attrs)"},{"line_number":560,"context_line":"                changed \u003d True"},{"line_number":561,"context_line":"                if not self.params[\u0027wait\u0027] and not self.params[\u0027uri\u0027]:"}],"source_content_type":"text/x-python","patch_set":3,"id":"968e5b4e_cd20a695","line":558,"in_reply_to":"f35082ef_201dbf06","updated":"2026-10-22 13:36:33.000000000","message":"Done.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"c3f97fb34b9ef17efb485893b7c9e035ba5ea0ae","unresolved":true,"context_lines":[{"line_number":566,"context_line":"                self.conn.image.reactivate_image(image)"},{"line_number":567,"context_line":"                changed \u003d True"},{"line_number":568,"context_line":"            elif image[\u0027status\u0027] \u003d\u003d \u0027queued\u0027:"},{"line_number":569,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":570,"context_line":"                    image \u003d self._import_image("},{"line_number":571,"context_line":"                        image,"},{"line_number":572,"context_line":"                        self.params[\u0027import_method\u0027] or \u0027web-download\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"a688a012_0fad7c51","line":569,"range":{"start_line":569,"start_character":0,"end_line":569,"end_character":38},"updated":"2026-10-22 12:22:58.000000000","message":"And then here I\u0027d did `if self.params[\u0027import_method\u0027] \u003d\u003d ` instead maybe?\nBut I am not sure if `uri` is required whenever you do import the image? As there are for sure more cases when you want to do import but without uri?\n\nI am not sure though. Again this import logic looks to me as complete mess here.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"0edde80d9e8ac1e1a3267ebf7931b90fcb9a7e03","unresolved":false,"context_lines":[{"line_number":566,"context_line":"                self.conn.image.reactivate_image(image)"},{"line_number":567,"context_line":"                changed \u003d True"},{"line_number":568,"context_line":"            elif image[\u0027status\u0027] \u003d\u003d \u0027queued\u0027:"},{"line_number":569,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":570,"context_line":"                    image \u003d self._import_image("},{"line_number":571,"context_line":"                        image,"},{"line_number":572,"context_line":"                        self.params[\u0027import_method\u0027] or \u0027web-download\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"6dd68bbc_94cbcacf","line":569,"range":{"start_line":569,"start_character":0,"end_line":569,"end_character":38},"in_reply_to":"9b8676a7_d9112bb5","updated":"2026-10-22 14:37:56.000000000","message":"Done","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"},{"author":{"_account_id":33067,"name":"Moritz Tanner","email":"moritz.wanzenboeck@linbit.com","username":"wanzenbug"},"change_message_id":"36fb79767c7bd094f18e38c31c794ee42e13da40","unresolved":true,"context_lines":[{"line_number":566,"context_line":"                self.conn.image.reactivate_image(image)"},{"line_number":567,"context_line":"                changed \u003d True"},{"line_number":568,"context_line":"            elif image[\u0027status\u0027] \u003d\u003d \u0027queued\u0027:"},{"line_number":569,"context_line":"                if self.params[\u0027uri\u0027]:"},{"line_number":570,"context_line":"                    image \u003d self._import_image("},{"line_number":571,"context_line":"                        image,"},{"line_number":572,"context_line":"                        self.params[\u0027import_method\u0027] or \u0027web-download\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9b8676a7_d9112bb5","line":569,"range":{"start_line":569,"start_character":0,"end_line":569,"end_character":38},"in_reply_to":"a688a012_0fad7c51","updated":"2026-10-22 13:36:33.000000000","message":"Done. Disabled the `glance-download` method, because that is not implemented at all.","commit_id":"1f0a98c21ac840684ad19ee833a0ea8ded58ccec"}]}
