)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"82ba6d82370972140c95cecc5f913689ea3da5ea","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"b532ae6d_f7555895","updated":"2026-10-01 10:35:26.000000000","message":"recheck  neutron not found,,,","commit_id":"c19db36c439445d8d7ecab17833461e9ca20a0c7"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"1351613cb1d6a348b5faceb63f81d7a48fd0f78e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"a3d40f22_5662470e","updated":"2026-11-24 11:55:29.000000000","message":"recheck - failure seems unrelated","commit_id":"9f0b78aa28e78e9c77de1f43d85cfc6b5ecd5712"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"55844ef81f1923774a35ecc50bdffacbae114f0a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":15,"id":"86e3b9fb_3f353c49","updated":"2026-11-25 19:26:25.000000000","message":"Otherwise, +2","commit_id":"2c259383f135290e853caf4c1c92677cfc4b1e89"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4b9b42deb557b2ce335fbc32da7e332024d2db1c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"8fdcd9ff_b06b3feb","updated":"2026-11-30 15:08:27.000000000","message":"recheck\n\nThe CI should feed better today","commit_id":"a991ea74471c21b65affaba8e0b714d5365c63b7"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"076cd3dd1666bacda7b33433a8b2ee17bfc38360","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":16,"id":"52fd2700_64526367","updated":"2026-11-25 22:28:02.000000000","message":"recheck failure seems unrelated to the change","commit_id":"a991ea74471c21b65affaba8e0b714d5365c63b7"}],"ironic/common/async_utils.py":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":46,"context_line":"    else:"},{"line_number":47,"context_line":"        scheduled \u003d [awaitable for _, awaitable in items]"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    tasks \u003d [asyncio.create_task(coro) for coro in scheduled]"},{"line_number":50,"context_line":"    results \u003d await asyncio.gather(*tasks, return_exceptions\u003dTrue)"},{"line_number":51,"context_line":"    return [(key, result) for (key, _), result in zip(items, results)]"}],"source_content_type":"text/x-python","patch_set":12,"id":"0c427fbb_27675f17","line":49,"updated":"2026-11-24 20:34:18.000000000","message":"I\u0027m just going to paste the agent comment here because it is too esoteric for my asyncio experience:\n\n`gather_with_keys` accepts only coroutines, but the interface contract says any awaitable (Low)\n`ironic/common/async_utils.py:49` uses `asyncio.create_task(coro)`, which raises `TypeError` for anything that is not a coroutine — an `asyncio.Future`, an object with `__await__`, a task. `ManagementInterface.get_sensors_data_async` explicitly documents the opposite (`drivers/base.py:1416-1418`: \"Real implementations may be marked as ``async`` or return an awaitable in any other way\").\nScenario: a third-party management interface returns `asyncio.ensure_future(...)` or a custom awaitable. The whole async phase then dies in `_send_sensor_data`\u0027s broad `except Exception`, losing sensor data for *all* async nodes that cycle, not just that node. Use `asyncio.ensure_future()` (accepts any awaitable) or narrow the base-class docstring to require a coroutine. `test_get_sensors_data_async_returns_coroutine` only checks the coroutine case, so the mismatch is not caught.","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":true,"context_lines":[{"line_number":46,"context_line":"    else:"},{"line_number":47,"context_line":"        scheduled \u003d [awaitable for _, awaitable in items]"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    tasks \u003d [asyncio.create_task(coro) for coro in scheduled]"},{"line_number":50,"context_line":"    results \u003d await asyncio.gather(*tasks, return_exceptions\u003dTrue)"},{"line_number":51,"context_line":"    return [(key, result) for (key, _), result in zip(items, results)]"}],"source_content_type":"text/x-python","patch_set":12,"id":"b3122309_058829f5","line":49,"in_reply_to":"0c427fbb_27675f17","updated":"2026-11-25 03:41:40.000000000","message":"Should be done now.","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"7a41a30d7e92dbb693774df45098052ea4d71516","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    else:"},{"line_number":47,"context_line":"        scheduled \u003d [awaitable for _, awaitable in items]"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    tasks \u003d [asyncio.create_task(coro) for coro in scheduled]"},{"line_number":50,"context_line":"    results \u003d await asyncio.gather(*tasks, return_exceptions\u003dTrue)"},{"line_number":51,"context_line":"    return [(key, result) for (key, _), result in zip(items, results)]"}],"source_content_type":"text/x-python","patch_set":12,"id":"ff03f99f_0bd6823a","line":49,"in_reply_to":"b3122309_058829f5","updated":"2026-11-25 20:24:12.000000000","message":"Done","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"}],"ironic/conductor/base_manager.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":469,"context_line":"        self._started \u003d False"},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"    @staticmethod"},{"line_number":472,"context_line":"    def _close_async_redfish_sessions():"},{"line_number":473,"context_line":"        \"\"\"Release async Redfish sessions cached for sensor collection."},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"        These hold a session on the BMC that is only freed by an HTTP"}],"source_content_type":"text/x-python","patch_set":8,"id":"30d4ffe7_8a3da4dc","line":472,"updated":"2026-11-09 15:50:04.000000000","message":"As a way to avoid hardcoding redfish in the conductor, maybe add something like `def shutdown()` to each hardware type? At least that\u0027ll keep Redfish business in Redfish.","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":469,"context_line":"        self._started \u003d False"},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"    @staticmethod"},{"line_number":472,"context_line":"    def _close_async_redfish_sessions():"},{"line_number":473,"context_line":"        \"\"\"Release async Redfish sessions cached for sensor collection."},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"        These hold a session on the BMC that is only freed by an HTTP"}],"source_content_type":"text/x-python","patch_set":8,"id":"2e276280_28fbaca5","line":472,"in_reply_to":"30d4ffe7_8a3da4dc","updated":"2026-11-09 18:00:14.000000000","message":"Right, this makes sense!","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"}],"ironic/conductor/manager.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3119,"context_line":"                                         filters\u003dfilters):"},{"line_number":3120,"context_line":"            node_uuid \u003d node_info[0]"},{"line_number":3121,"context_line":""},{"line_number":3122,"context_line":"            if CONF.sensor_data.enable_async_collection:"},{"line_number":3123,"context_line":"                try:"},{"line_number":3124,"context_line":"                    lock_purpose \u003d \u0027getting async sensors data\u0027"},{"line_number":3125,"context_line":"                    with task_manager.acquire(context, node_uuid,"}],"source_content_type":"text/x-python","patch_set":8,"id":"2daeac5b_acad608b","line":3122,"updated":"2026-11-09 15:50:04.000000000","message":"nit: let\u0027s add a helper for this to improve readability","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":3119,"context_line":"                                         filters\u003dfilters):"},{"line_number":3120,"context_line":"            node_uuid \u003d node_info[0]"},{"line_number":3121,"context_line":""},{"line_number":3122,"context_line":"            if CONF.sensor_data.enable_async_collection:"},{"line_number":3123,"context_line":"                try:"},{"line_number":3124,"context_line":"                    lock_purpose \u003d \u0027getting async sensors data\u0027"},{"line_number":3125,"context_line":"                    with task_manager.acquire(context, node_uuid,"}],"source_content_type":"text/x-python","patch_set":8,"id":"3462b338_0eadef27","line":3122,"in_reply_to":"2daeac5b_acad608b","updated":"2026-11-09 18:00:14.000000000","message":"Acknowledged","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3132,"context_line":"                                task.node.uuid)"},{"line_number":3133,"context_line":"                            continue"},{"line_number":3134,"context_line":"                        try:"},{"line_number":3135,"context_line":"                            node_dict \u003d {"},{"line_number":3136,"context_line":"                                \u0027uuid\u0027: task.node.uuid,"},{"line_number":3137,"context_line":"                                \u0027name\u0027: task.node.name,"},{"line_number":3138,"context_line":"                                \u0027driver\u0027: task.node.driver,"}],"source_content_type":"text/x-python","patch_set":8,"id":"89a63eed_9de03e1b","line":3135,"updated":"2026-11-09 15:50:04.000000000","message":"I think objects have a method to convert them to dicts. Let\u0027s not assume which fields a driver may need.","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":3132,"context_line":"                                task.node.uuid)"},{"line_number":3133,"context_line":"                            continue"},{"line_number":3134,"context_line":"                        try:"},{"line_number":3135,"context_line":"                            node_dict \u003d {"},{"line_number":3136,"context_line":"                                \u0027uuid\u0027: task.node.uuid,"},{"line_number":3137,"context_line":"                                \u0027name\u0027: task.node.name,"},{"line_number":3138,"context_line":"                                \u0027driver\u0027: task.node.driver,"}],"source_content_type":"text/x-python","patch_set":8,"id":"e903faf8_7af0ec4d","line":3135,"in_reply_to":"89a63eed_9de03e1b","updated":"2026-11-09 18:00:14.000000000","message":"Acknowledged","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3218,"context_line":"                        \u0027workers setting or adding additional \u0027"},{"line_number":3219,"context_line":"                        \u0027conductors to the ironic deployment.\u0027)"},{"line_number":3220,"context_line":""},{"line_number":3221,"context_line":"    @staticmethod"},{"line_number":3222,"context_line":"    async def _run_async_sensor_data(async_tasks):"},{"line_number":3223,"context_line":"        \"\"\"Run all async sensor data coroutines concurrently."},{"line_number":3224,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"0906d00d_0554e01d","line":3221,"updated":"2026-11-09 15:50:04.000000000","message":"nit: no need to make it a method. can be a helper at a new location (especially since it\u0027s not sensor-specific)","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":3218,"context_line":"                        \u0027workers setting or adding additional \u0027"},{"line_number":3219,"context_line":"                        \u0027conductors to the ironic deployment.\u0027)"},{"line_number":3220,"context_line":""},{"line_number":3221,"context_line":"    @staticmethod"},{"line_number":3222,"context_line":"    async def _run_async_sensor_data(async_tasks):"},{"line_number":3223,"context_line":"        \"\"\"Run all async sensor data coroutines concurrently."},{"line_number":3224,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"399d860e_190fe9ce","line":3221,"in_reply_to":"0906d00d_0554e01d","updated":"2026-11-09 18:00:14.000000000","message":"Acknowledged","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3240,"context_line":"        :param results: list of (node_dict, result_or_exception) tuples."},{"line_number":3241,"context_line":"        \"\"\""},{"line_number":3242,"context_line":"        for node_dict, result in results:"},{"line_number":3243,"context_line":"            node_uuid \u003d node_dict.get(\u0027uuid\u0027, \u0027unknown\u0027)"},{"line_number":3244,"context_line":"            node_name \u003d node_dict.get(\u0027name\u0027)"},{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"f322eb58_2063bc91","line":3243,"updated":"2026-11-09 15:50:04.000000000","message":"nit: a node always has a UUID","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"d6a71ce3403786c614e91beb9c424deacfba5ee9","unresolved":false,"context_lines":[{"line_number":3240,"context_line":"        :param results: list of (node_dict, result_or_exception) tuples."},{"line_number":3241,"context_line":"        \"\"\""},{"line_number":3242,"context_line":"        for node_dict, result in results:"},{"line_number":3243,"context_line":"            node_uuid \u003d node_dict.get(\u0027uuid\u0027, \u0027unknown\u0027)"},{"line_number":3244,"context_line":"            node_name \u003d node_dict.get(\u0027name\u0027)"},{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"2f68d45b_8b8ca78b","line":3243,"in_reply_to":"f322eb58_2063bc91","updated":"2026-11-11 04:28:51.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3242,"context_line":"        for node_dict, result in results:"},{"line_number":3243,"context_line":"            node_uuid \u003d node_dict.get(\u0027uuid\u0027, \u0027unknown\u0027)"},{"line_number":3244,"context_line":"            node_name \u003d node_dict.get(\u0027name\u0027)"},{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"},{"line_number":3247,"context_line":""},{"line_number":3248,"context_line":"            if isinstance(result, exception.FailedToParseSensorData):"}],"source_content_type":"text/x-python","patch_set":8,"id":"b883635c_8df35ef9","line":3245,"updated":"2026-11-09 15:50:04.000000000","message":"and a driver","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"d6a71ce3403786c614e91beb9c424deacfba5ee9","unresolved":false,"context_lines":[{"line_number":3242,"context_line":"        for node_dict, result in results:"},{"line_number":3243,"context_line":"            node_uuid \u003d node_dict.get(\u0027uuid\u0027, \u0027unknown\u0027)"},{"line_number":3244,"context_line":"            node_name \u003d node_dict.get(\u0027name\u0027)"},{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"},{"line_number":3247,"context_line":""},{"line_number":3248,"context_line":"            if isinstance(result, exception.FailedToParseSensorData):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7d1ff83a_f75ef83c","line":3245,"in_reply_to":"b883635c_8df35ef9","updated":"2026-11-11 04:28:51.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"},{"line_number":3247,"context_line":""},{"line_number":3248,"context_line":"            if isinstance(result, exception.FailedToParseSensorData):"},{"line_number":3249,"context_line":"                LOG.warning("},{"line_number":3250,"context_line":"                    \"During async get_sensors_data, could not parse \""},{"line_number":3251,"context_line":"                    \"sensor data for node %(node)s. Error: %(err)s.\","}],"source_content_type":"text/x-python","patch_set":8,"id":"652a3c62_41d35af9","line":3248,"updated":"2026-11-09 15:50:04.000000000","message":"Since you react to all 3 types of exceptions in the same way, you can just handle the generic Exception and rely on different error messages.","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"ff031492d79b3f80b7d4f4464df4afd4c83f60d8","unresolved":false,"context_lines":[{"line_number":3245,"context_line":"            driver \u003d node_dict.get(\u0027driver\u0027, \u0027unknown\u0027)"},{"line_number":3246,"context_line":"            instance_uuid \u003d node_dict.get(\u0027instance_uuid\u0027)"},{"line_number":3247,"context_line":""},{"line_number":3248,"context_line":"            if isinstance(result, exception.FailedToParseSensorData):"},{"line_number":3249,"context_line":"                LOG.warning("},{"line_number":3250,"context_line":"                    \"During async get_sensors_data, could not parse \""},{"line_number":3251,"context_line":"                    \"sensor data for node %(node)s. Error: %(err)s.\","}],"source_content_type":"text/x-python","patch_set":8,"id":"5d50fbbd_c7ad4099","line":3248,"in_reply_to":"652a3c62_41d35af9","updated":"2026-11-23 17:30:06.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"1423c903beee41dac170a824b97e047ef75b28a8","unresolved":true,"context_lines":[{"line_number":3145,"context_line":"        # Run asynchronous path"},{"line_number":3146,"context_line":"        if async_tasks:"},{"line_number":3147,"context_line":"            try:"},{"line_number":3148,"context_line":"                sensor_results \u003d asyncio.run("},{"line_number":3149,"context_line":"                    async_utils.gather_with_keys(async_tasks))"},{"line_number":3150,"context_line":"                self._process_async_sensor_results(context, sensor_results)"},{"line_number":3151,"context_line":"            except Exception as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"698dccbc_93c15590","line":3148,"updated":"2026-11-19 15:24:47.000000000","message":"I believe this will open all the async connections at once, we should at least add a concurrency limit","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"08bb8d5e473ec22cc5f571b1fa4a6b8c652910b5","unresolved":false,"context_lines":[{"line_number":3145,"context_line":"        # Run asynchronous path"},{"line_number":3146,"context_line":"        if async_tasks:"},{"line_number":3147,"context_line":"            try:"},{"line_number":3148,"context_line":"                sensor_results \u003d asyncio.run("},{"line_number":3149,"context_line":"                    async_utils.gather_with_keys(async_tasks))"},{"line_number":3150,"context_line":"                self._process_async_sensor_results(context, sensor_results)"},{"line_number":3151,"context_line":"            except Exception as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"f62f23fc_af55fd51","line":3148,"in_reply_to":"698dccbc_93c15590","updated":"2026-11-23 15:05:24.000000000","message":"Seems to be fixed using gather_with_keys now","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"08bb8d5e473ec22cc5f571b1fa4a6b8c652910b5","unresolved":true,"context_lines":[{"line_number":3130,"context_line":"            if CONF.sensor_data.enable_async_collection:"},{"line_number":3131,"context_line":"                async_task \u003d self._start_async_sensor_collection("},{"line_number":3132,"context_line":"                    context, node_info, sync_nodes)"},{"line_number":3133,"context_line":"                if async_task is not None:"},{"line_number":3134,"context_line":"                    async_tasks.append(async_task)"},{"line_number":3135,"context_line":"            else:"},{"line_number":3136,"context_line":"                sync_nodes.put_nowait(node_info)"}],"source_content_type":"text/x-python","patch_set":11,"id":"58d402fa_b5e2903d","line":3133,"updated":"2026-11-23 15:05:24.000000000","message":"Nothing happens on the `else` branch here (has to fall back to sync code)","commit_id":"310a9ce2140f4040dcc4f208c2be91228e43cbcf"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"ff031492d79b3f80b7d4f4464df4afd4c83f60d8","unresolved":false,"context_lines":[{"line_number":3130,"context_line":"            if CONF.sensor_data.enable_async_collection:"},{"line_number":3131,"context_line":"                async_task \u003d self._start_async_sensor_collection("},{"line_number":3132,"context_line":"                    context, node_info, sync_nodes)"},{"line_number":3133,"context_line":"                if async_task is not None:"},{"line_number":3134,"context_line":"                    async_tasks.append(async_task)"},{"line_number":3135,"context_line":"            else:"},{"line_number":3136,"context_line":"                sync_nodes.put_nowait(node_info)"}],"source_content_type":"text/x-python","patch_set":11,"id":"1951c910_c4a5a082","line":3133,"in_reply_to":"58d402fa_b5e2903d","updated":"2026-11-23 17:30:06.000000000","message":"Acknowledged","commit_id":"310a9ce2140f4040dcc4f208c2be91228e43cbcf"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"ff031492d79b3f80b7d4f4464df4afd4c83f60d8","unresolved":false,"context_lines":[{"line_number":3130,"context_line":"            if CONF.sensor_data.enable_async_collection:"},{"line_number":3131,"context_line":"                async_task \u003d self._start_async_sensor_collection("},{"line_number":3132,"context_line":"                    context, node_info, sync_nodes)"},{"line_number":3133,"context_line":"                if async_task is not None:"},{"line_number":3134,"context_line":"                    async_tasks.append(async_task)"},{"line_number":3135,"context_line":"            else:"},{"line_number":3136,"context_line":"                sync_nodes.put_nowait(node_info)"}],"source_content_type":"text/x-python","patch_set":11,"id":"d31b1d9c_7c71d510","line":3133,"in_reply_to":"58d402fa_b5e2903d","updated":"2026-11-23 17:30:06.000000000","message":"_start_async_sensor_collection already handles that, I\u0027ve updated the code path to make things more clear and renamed `_start_async_sensor_collection` to `._schedule_sensor_collection`","commit_id":"310a9ce2140f4040dcc4f208c2be91228e43cbcf"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":3151,"context_line":"        # Run asynchronous path"},{"line_number":3152,"context_line":"        if async_tasks:"},{"line_number":3153,"context_line":"            try:"},{"line_number":3154,"context_line":"                sensor_results \u003d asyncio.run("},{"line_number":3155,"context_line":"                    async_utils.gather_with_keys("},{"line_number":3156,"context_line":"                        async_tasks,"},{"line_number":3157,"context_line":"                        limit\u003dCONF.sensor_data.async_workers))"}],"source_content_type":"text/x-python","patch_set":12,"id":"41868d67_87d220f6","line":3154,"updated":"2026-11-24 20:34:18.000000000","message":"This run has no bounding for timing out, and [sensor_data]wait_timeout seems to be appropriate. Something like the following would do as long as we don\u0027t mind losing all collected data even if only one collection caused the timeout:\n\n                sensor_results \u003d asyncio.run(\n                    asyncio.wait_for(\n                        async_utils.gather_with_keys(\n                            async_tasks,\n                            limit\u003dCONF.sensor_data.async_workers),\n                        timeout\u003dCONF.sensor_data.wait_timeout))","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":3151,"context_line":"        # Run asynchronous path"},{"line_number":3152,"context_line":"        if async_tasks:"},{"line_number":3153,"context_line":"            try:"},{"line_number":3154,"context_line":"                sensor_results \u003d asyncio.run("},{"line_number":3155,"context_line":"                    async_utils.gather_with_keys("},{"line_number":3156,"context_line":"                        async_tasks,"},{"line_number":3157,"context_line":"                        limit\u003dCONF.sensor_data.async_workers))"}],"source_content_type":"text/x-python","patch_set":12,"id":"7914ddb4_9cdbb7b4","line":3154,"in_reply_to":"41868d67_87d220f6","updated":"2026-11-25 03:41:40.000000000","message":"Done","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":3270,"context_line":"                \u0027timestamp\u0027: timeutils.utcnow(),"},{"line_number":3271,"context_line":"                \u0027event_type\u0027: ev_type + \u0027.update\u0027,"},{"line_number":3272,"context_line":"            }"},{"line_number":3273,"context_line":""},{"line_number":3274,"context_line":"            message[\u0027payload\u0027] \u003d ("},{"line_number":3275,"context_line":"                self._filter_out_unsupported_types(result))"},{"line_number":3276,"context_line":"            if message[\u0027payload\u0027]:"}],"source_content_type":"text/x-python","patch_set":12,"id":"387f5ec8_3e902d0a","line":3273,"updated":"2026-11-24 20:34:18.000000000","message":"Add an isinstance check for result being a dict, log a warning and continue if it isn\u0027t. See comment below","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":3270,"context_line":"                \u0027timestamp\u0027: timeutils.utcnow(),"},{"line_number":3271,"context_line":"                \u0027event_type\u0027: ev_type + \u0027.update\u0027,"},{"line_number":3272,"context_line":"            }"},{"line_number":3273,"context_line":""},{"line_number":3274,"context_line":"            message[\u0027payload\u0027] \u003d ("},{"line_number":3275,"context_line":"                self._filter_out_unsupported_types(result))"},{"line_number":3276,"context_line":"            if message[\u0027payload\u0027]:"}],"source_content_type":"text/x-python","patch_set":12,"id":"2b03fe15_e80a751e","line":3273,"in_reply_to":"387f5ec8_3e902d0a","updated":"2026-11-25 03:41:40.000000000","message":"If I understood correct I would change the initial `if isinstance`.","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":3294,"context_line":"            return sensors_data"},{"line_number":3295,"context_line":""},{"line_number":3296,"context_line":"        return dict((sensor_type, sensor_value) for (sensor_type, sensor_value)"},{"line_number":3297,"context_line":"                    in sensors_data.items() if sensor_type.lower() in allowed)"},{"line_number":3298,"context_line":""},{"line_number":3299,"context_line":"    @METRICS.timer(\u0027ConductorManager.set_boot_device\u0027)"},{"line_number":3300,"context_line":"    @messaging.expected_exceptions(exception.NodeLocked,"}],"source_content_type":"text/x-python","patch_set":12,"id":"02e07ee3_04c482b0","line":3297,"updated":"2026-11-24 20:34:18.000000000","message":"This will raise an exception if sensor_data is None or not a dict, and subsequent collection will be dropped. See comment above to avoid this","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":3294,"context_line":"            return sensors_data"},{"line_number":3295,"context_line":""},{"line_number":3296,"context_line":"        return dict((sensor_type, sensor_value) for (sensor_type, sensor_value)"},{"line_number":3297,"context_line":"                    in sensors_data.items() if sensor_type.lower() in allowed)"},{"line_number":3298,"context_line":""},{"line_number":3299,"context_line":"    @METRICS.timer(\u0027ConductorManager.set_boot_device\u0027)"},{"line_number":3300,"context_line":"    @messaging.expected_exceptions(exception.NodeLocked,"}],"source_content_type":"text/x-python","patch_set":12,"id":"ae8a1411_1d0b27d4","line":3297,"in_reply_to":"02e07ee3_04c482b0","updated":"2026-11-25 03:41:40.000000000","message":"Done","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"}],"ironic/conf/sensor_data.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":71,"context_line":"                       \u0027the ``send_sensor_data_for_undeployed_nodes`` \u0027"},{"line_number":72,"context_line":"                       \u0027setting.\u0027)),"},{"line_number":73,"context_line":"    cfg.BoolOpt(\u0027enable_async_collection\u0027,"},{"line_number":74,"context_line":"                default\u003dFalse,"},{"line_number":75,"context_line":"                help\u003d_(\u0027Enable asynchronous sensor data collection using \u0027"},{"line_number":76,"context_line":"                       \u0027AsyncIO. When enabled, drivers that support async \u0027"},{"line_number":77,"context_line":"                       \u0027collection (currently Redfish only) will collect \u0027"}],"source_content_type":"text/x-python","patch_set":8,"id":"c71526da_9c5205c9","line":74,"updated":"2026-11-09 15:50:04.000000000","message":"nit: and `mutable\u003dTrue`","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":71,"context_line":"                       \u0027the ``send_sensor_data_for_undeployed_nodes`` \u0027"},{"line_number":72,"context_line":"                       \u0027setting.\u0027)),"},{"line_number":73,"context_line":"    cfg.BoolOpt(\u0027enable_async_collection\u0027,"},{"line_number":74,"context_line":"                default\u003dFalse,"},{"line_number":75,"context_line":"                help\u003d_(\u0027Enable asynchronous sensor data collection using \u0027"},{"line_number":76,"context_line":"                       \u0027AsyncIO. When enabled, drivers that support async \u0027"},{"line_number":77,"context_line":"                       \u0027collection (currently Redfish only) will collect \u0027"}],"source_content_type":"text/x-python","patch_set":8,"id":"a1cb1574_e5f68a45","line":74,"in_reply_to":"c71526da_9c5205c9","updated":"2026-11-09 18:00:14.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"08bb8d5e473ec22cc5f571b1fa4a6b8c652910b5","unresolved":true,"context_lines":[{"line_number":80,"context_line":"                       \u0027of worker threads. This can dramatically improve \u0027"},{"line_number":81,"context_line":"                       \u0027collection times for large numbers of nodes.\u0027)),"},{"line_number":82,"context_line":"    cfg.IntOpt(\u0027async_workers\u0027,"},{"line_number":83,"context_line":"               default\u003d64, min\u003d1,"},{"line_number":84,"context_line":"               mutable\u003dTrue,"},{"line_number":85,"context_line":"               help\u003d_(\u0027The maximum number of nodes to collect sensor data \u0027"},{"line_number":86,"context_line":"                      \u0027from at the same time when \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"cef8247c_7966008f","line":83,"updated":"2026-11-23 15:05:24.000000000","message":"Future: we\u0027ll need to play with the default value to find the sweet spot. I have a gut feeling it may be higher than 64. Possibly much higher.","commit_id":"310a9ce2140f4040dcc4f208c2be91228e43cbcf"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"ff031492d79b3f80b7d4f4464df4afd4c83f60d8","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                       \u0027of worker threads. This can dramatically improve \u0027"},{"line_number":81,"context_line":"                       \u0027collection times for large numbers of nodes.\u0027)),"},{"line_number":82,"context_line":"    cfg.IntOpt(\u0027async_workers\u0027,"},{"line_number":83,"context_line":"               default\u003d64, min\u003d1,"},{"line_number":84,"context_line":"               mutable\u003dTrue,"},{"line_number":85,"context_line":"               help\u003d_(\u0027The maximum number of nodes to collect sensor data \u0027"},{"line_number":86,"context_line":"                      \u0027from at the same time when \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"d6d26947_952c5f95","line":83,"in_reply_to":"cef8247c_7966008f","updated":"2026-11-23 17:30:06.000000000","message":"agree, let me increase this and see what IA would recommend also","commit_id":"310a9ce2140f4040dcc4f208c2be91228e43cbcf"}],"ironic/drivers/modules/redfish/management.py":[{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"64ebd4c0529db47302b18f3d8cde2fca7aa48b28","unresolved":true,"context_lines":[{"line_number":1211,"context_line":"                    fans \u003d thermal.get(\u0027Fans\u0027, [])"},{"line_number":1212,"context_line":"                    for fan in fans:"},{"line_number":1213,"context_line":"                        sensor \u003d self._sensor2dict_async("},{"line_number":1214,"context_line":"                            fan, \u0027MemberId\u0027, \u0027MaxReadingRange\u0027,"},{"line_number":1215,"context_line":"                            \u0027MinReadingRange\u0027, \u0027Reading\u0027, \u0027ReadingUnits\u0027,"},{"line_number":1216,"context_line":"                            \u0027SerialNumber\u0027, \u0027PhysicalContext\u0027)"},{"line_number":1217,"context_line":"                        status \u003d fan.get(\u0027Status\u0027, {})"}],"source_content_type":"text/x-python","patch_set":6,"id":"162258e9_aefdf1d1","line":1214,"updated":"2026-11-04 15:54:11.000000000","message":"Could we preserve the synchronous payload keys here?\n_get_sensors_fan() and _get_sensors_temperatures() provide identity, but this path returns member_id from MemberId; the power-supply path also omits the identity field.\nUsers may see different sensor fields when async collection is enabled, bu the change promises the same output format.","commit_id":"54872bfad6ef17ffe923fdd9f708e36131cfa4fc"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"a1f2bf2029ef785a14e138ebc82f0637e4f10579","unresolved":false,"context_lines":[{"line_number":1211,"context_line":"                    fans \u003d thermal.get(\u0027Fans\u0027, [])"},{"line_number":1212,"context_line":"                    for fan in fans:"},{"line_number":1213,"context_line":"                        sensor \u003d self._sensor2dict_async("},{"line_number":1214,"context_line":"                            fan, \u0027MemberId\u0027, \u0027MaxReadingRange\u0027,"},{"line_number":1215,"context_line":"                            \u0027MinReadingRange\u0027, \u0027Reading\u0027, \u0027ReadingUnits\u0027,"},{"line_number":1216,"context_line":"                            \u0027SerialNumber\u0027, \u0027PhysicalContext\u0027)"},{"line_number":1217,"context_line":"                        status \u003d fan.get(\u0027Status\u0027, {})"}],"source_content_type":"text/x-python","patch_set":6,"id":"cef10ad6_9750dfa5","line":1214,"in_reply_to":"162258e9_aefdf1d1","updated":"2026-11-05 03:13:34.000000000","message":"Acknowledged","commit_id":"54872bfad6ef17ffe923fdd9f708e36131cfa4fc"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":1102,"context_line":""},{"line_number":1103,"context_line":"    # --- Async sensor data collection ---"},{"line_number":1104,"context_line":""},{"line_number":1105,"context_line":"    @staticmethod"},{"line_number":1106,"context_line":"    def _sensor2dict_async(data, fields):"},{"line_number":1107,"context_line":"        \"\"\"Build a sensor dict from a raw JSON dict."},{"line_number":1108,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5941c972_6b056f28","line":1105,"updated":"2026-11-09 15:50:04.000000000","message":"nit: can be just a function","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":false,"context_lines":[{"line_number":1102,"context_line":""},{"line_number":1103,"context_line":"    # --- Async sensor data collection ---"},{"line_number":1104,"context_line":""},{"line_number":1105,"context_line":"    @staticmethod"},{"line_number":1106,"context_line":"    def _sensor2dict_async(data, fields):"},{"line_number":1107,"context_line":"        \"\"\"Build a sensor dict from a raw JSON dict."},{"line_number":1108,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"23e65584_209d3be1","line":1105,"in_reply_to":"5941c972_6b056f28","updated":"2026-11-09 18:00:14.000000000","message":"Acknowledged","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":1108,"context_line":""},{"line_number":1109,"context_line":"        Unlike ``_sensor2dict`` which works with sushy resource objects,"},{"line_number":1110,"context_line":"        this variant works with plain dicts as returned by the async"},{"line_number":1111,"context_line":"        Redfish client. It produces the same payload keys and value"},{"line_number":1112,"context_line":"        types as the synchronous path, including reporting a field the"},{"line_number":1113,"context_line":"        BMC did not send as None rather than dropping the key, so that"},{"line_number":1114,"context_line":"        consumers see one sensor format regardless of which path"}],"source_content_type":"text/x-python","patch_set":8,"id":"fe393288_fa5ccdea","line":1111,"updated":"2026-11-09 15:50:04.000000000","message":"I think you can get a dict from a sushy object (`.json` property?) and generalize these","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"04a896dcf37436010651a0f0f002e7b98e0830c0","unresolved":true,"context_lines":[{"line_number":1108,"context_line":""},{"line_number":1109,"context_line":"        Unlike ``_sensor2dict`` which works with sushy resource objects,"},{"line_number":1110,"context_line":"        this variant works with plain dicts as returned by the async"},{"line_number":1111,"context_line":"        Redfish client. It produces the same payload keys and value"},{"line_number":1112,"context_line":"        types as the synchronous path, including reporting a field the"},{"line_number":1113,"context_line":"        BMC did not send as None rather than dropping the key, so that"},{"line_number":1114,"context_line":"        consumers see one sensor format regardless of which path"}],"source_content_type":"text/x-python","patch_set":8,"id":"ec5c0983_90f18cbb","line":1111,"in_reply_to":"80faf207_7a2487cc","updated":"2026-11-10 03:25:11.000000000","message":"@dtantsur@protonmail.com\nif we go down this route, we would re-write the current sync implementation, wdyt?","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"5d1451fbe526f959c0c26efad3832f20714a57a2","unresolved":false,"context_lines":[{"line_number":1108,"context_line":""},{"line_number":1109,"context_line":"        Unlike ``_sensor2dict`` which works with sushy resource objects,"},{"line_number":1110,"context_line":"        this variant works with plain dicts as returned by the async"},{"line_number":1111,"context_line":"        Redfish client. It produces the same payload keys and value"},{"line_number":1112,"context_line":"        types as the synchronous path, including reporting a field the"},{"line_number":1113,"context_line":"        BMC did not send as None rather than dropping the key, so that"},{"line_number":1114,"context_line":"        consumers see one sensor format regardless of which path"}],"source_content_type":"text/x-python","patch_set":8,"id":"29ed9a16_beb51142","line":1111,"in_reply_to":"ec5c0983_90f18cbb","updated":"2026-11-24 11:55:11.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"f2c77a3ae01302744bab6752e5bc709e6b14fff7","unresolved":true,"context_lines":[{"line_number":1108,"context_line":""},{"line_number":1109,"context_line":"        Unlike ``_sensor2dict`` which works with sushy resource objects,"},{"line_number":1110,"context_line":"        this variant works with plain dicts as returned by the async"},{"line_number":1111,"context_line":"        Redfish client. It produces the same payload keys and value"},{"line_number":1112,"context_line":"        types as the synchronous path, including reporting a field the"},{"line_number":1113,"context_line":"        BMC did not send as None rather than dropping the key, so that"},{"line_number":1114,"context_line":"        consumers see one sensor format regardless of which path"}],"source_content_type":"text/x-python","patch_set":8,"id":"80faf207_7a2487cc","line":1111,"in_reply_to":"fe393288_fa5ccdea","updated":"2026-11-09 18:00:14.000000000","message":"Will do some testing and report back, but I think you are right!","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":1158,"context_line":"        :returns: a coroutine that yields sensor data dict."},{"line_number":1159,"context_line":"        \"\"\""},{"line_number":1160,"context_line":"        node_obj \u003d types.SimpleNamespace(**node)"},{"line_number":1161,"context_line":"        driver_info \u003d redfish_utils.parse_driver_info(node_obj)"},{"line_number":1162,"context_line":"        return self._get_sensor_data_async_impl(node, driver_info)"},{"line_number":1163,"context_line":""},{"line_number":1164,"context_line":"    async def _get_sensor_data_async_impl(self, node, driver_info):"}],"source_content_type":"text/x-python","patch_set":8,"id":"35bf00ce_2e171204","line":1161,"updated":"2026-11-09 15:50:04.000000000","message":"nit: you could generalize `parse_driver_info` to convert a `Node` to a dict first and then act on the result","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"04a896dcf37436010651a0f0f002e7b98e0830c0","unresolved":true,"context_lines":[{"line_number":1158,"context_line":"        :returns: a coroutine that yields sensor data dict."},{"line_number":1159,"context_line":"        \"\"\""},{"line_number":1160,"context_line":"        node_obj \u003d types.SimpleNamespace(**node)"},{"line_number":1161,"context_line":"        driver_info \u003d redfish_utils.parse_driver_info(node_obj)"},{"line_number":1162,"context_line":"        return self._get_sensor_data_async_impl(node, driver_info)"},{"line_number":1163,"context_line":""},{"line_number":1164,"context_line":"    async def _get_sensor_data_async_impl(self, node, driver_info):"}],"source_content_type":"text/x-python","patch_set":8,"id":"647eb239_251dc4d8","line":1161,"in_reply_to":"35bf00ce_2e171204","updated":"2026-11-10 03:25:11.000000000","message":"Wouldn\u0027t this affect our current implementation of `parse_driver_info` ? Wondering if people are ok with going down this path.\nMultiple changes in `ironic/drivers/modules/redfish/utils.py`","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"d6a71ce3403786c614e91beb9c424deacfba5ee9","unresolved":false,"context_lines":[{"line_number":1158,"context_line":"        :returns: a coroutine that yields sensor data dict."},{"line_number":1159,"context_line":"        \"\"\""},{"line_number":1160,"context_line":"        node_obj \u003d types.SimpleNamespace(**node)"},{"line_number":1161,"context_line":"        driver_info \u003d redfish_utils.parse_driver_info(node_obj)"},{"line_number":1162,"context_line":"        return self._get_sensor_data_async_impl(node, driver_info)"},{"line_number":1163,"context_line":""},{"line_number":1164,"context_line":"    async def _get_sensor_data_async_impl(self, node, driver_info):"}],"source_content_type":"text/x-python","patch_set":8,"id":"e89f7bc2_8caf6633","line":1161,"in_reply_to":"647eb239_251dc4d8","updated":"2026-11-11 04:28:51.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":1179,"context_line":"                    system \u003d await client.resource(system_id)"},{"line_number":1180,"context_line":"                else:"},{"line_number":1181,"context_line":"                    systems \u003d await client.collection(\u0027Systems\u0027)"},{"line_number":1182,"context_line":"                    system \u003d await systems.one()"},{"line_number":1183,"context_line":""},{"line_number":1184,"context_line":"                sensors[\u0027Extra\u0027] \u003d {"},{"line_number":1185,"context_line":"                    \u0027Manufacturer\u0027: system.field(\u0027Manufacturer\u0027),"}],"source_content_type":"text/x-python","patch_set":8,"id":"f3ba7518_7d181a62","line":1182,"updated":"2026-11-09 15:50:04.000000000","message":"`one` can raise on several systems, you need to convert it to a human-friendly message","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"d6a71ce3403786c614e91beb9c424deacfba5ee9","unresolved":false,"context_lines":[{"line_number":1179,"context_line":"                    system \u003d await client.resource(system_id)"},{"line_number":1180,"context_line":"                else:"},{"line_number":1181,"context_line":"                    systems \u003d await client.collection(\u0027Systems\u0027)"},{"line_number":1182,"context_line":"                    system \u003d await systems.one()"},{"line_number":1183,"context_line":""},{"line_number":1184,"context_line":"                sensors[\u0027Extra\u0027] \u003d {"},{"line_number":1185,"context_line":"                    \u0027Manufacturer\u0027: system.field(\u0027Manufacturer\u0027),"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f9875b3_da7d0de7","line":1182,"in_reply_to":"35eabe2c_65bcb2ab","updated":"2026-11-11 04:28:51.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"04a896dcf37436010651a0f0f002e7b98e0830c0","unresolved":true,"context_lines":[{"line_number":1179,"context_line":"                    system \u003d await client.resource(system_id)"},{"line_number":1180,"context_line":"                else:"},{"line_number":1181,"context_line":"                    systems \u003d await client.collection(\u0027Systems\u0027)"},{"line_number":1182,"context_line":"                    system \u003d await systems.one()"},{"line_number":1183,"context_line":""},{"line_number":1184,"context_line":"                sensors[\u0027Extra\u0027] \u003d {"},{"line_number":1185,"context_line":"                    \u0027Manufacturer\u0027: system.field(\u0027Manufacturer\u0027),"}],"source_content_type":"text/x-python","patch_set":8,"id":"35eabe2c_65bcb2ab","line":1182,"in_reply_to":"f3ba7518_7d181a62","updated":"2026-11-10 03:25:11.000000000","message":"Something like\n```\n                    try:\n                        system \u003d await systems.one()\n                    except async_exceptions.UnknownDefaultError:\n                        # The BMC exposes several systems (or none), so\n                        # there is nothing to default to.\n                        raise exception.FailedToGetSensorData(\n                            node\u003dnode_uuid,\n                            error\u003d_(\u0027the BMC manages %(count)d systems, so \u0027\n                                    \u0027the one to collect from cannot be \u0027\n                                    \u0027guessed. Set \u0027\n                                    \u0027driver_info/redfish_system_id to the \u0027\n                                    \u0027path of the desired system, for \u0027\n                                    \u0027example /redfish/v1/Systems/1\u0027)\n                            % {\u0027count\u0027: len(systems)})\n```","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a7887b634998b0839ba1a906d2327863ba300a36","unresolved":true,"context_lines":[{"line_number":1275,"context_line":"                return sensors"},{"line_number":1276,"context_line":""},{"line_number":1277,"context_line":"            chassis \u003d await self._fetch_json_async("},{"line_number":1278,"context_line":"                system._connector, chassis_path)"},{"line_number":1279,"context_line":"            chassis_id \u003d chassis.get(\u0027Id\u0027, chassis_path.rstrip(\u0027/\u0027).split("},{"line_number":1280,"context_line":"                \u0027/\u0027)[-1])"},{"line_number":1281,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"6d2b8529_f46cf6a8","line":1278,"updated":"2026-11-09 15:50:04.000000000","message":"https://opendev.org/openstack/ironic/commit/c5c0bba74c6b7ca155e44e0d725331711b05bb60 optimizes this approach by using Redfish `$expand` feature. Let\u0027s not lose this optimization here. (Can be a follow-up.)","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"d6a71ce3403786c614e91beb9c424deacfba5ee9","unresolved":false,"context_lines":[{"line_number":1275,"context_line":"                return sensors"},{"line_number":1276,"context_line":""},{"line_number":1277,"context_line":"            chassis \u003d await self._fetch_json_async("},{"line_number":1278,"context_line":"                system._connector, chassis_path)"},{"line_number":1279,"context_line":"            chassis_id \u003d chassis.get(\u0027Id\u0027, chassis_path.rstrip(\u0027/\u0027).split("},{"line_number":1280,"context_line":"                \u0027/\u0027)[-1])"},{"line_number":1281,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"88f4b267_1d300724","line":1278,"in_reply_to":"5e8c6b2b_e8ac877a","updated":"2026-11-11 04:28:51.000000000","message":"Done","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"04a896dcf37436010651a0f0f002e7b98e0830c0","unresolved":true,"context_lines":[{"line_number":1275,"context_line":"                return sensors"},{"line_number":1276,"context_line":""},{"line_number":1277,"context_line":"            chassis \u003d await self._fetch_json_async("},{"line_number":1278,"context_line":"                system._connector, chassis_path)"},{"line_number":1279,"context_line":"            chassis_id \u003d chassis.get(\u0027Id\u0027, chassis_path.rstrip(\u0027/\u0027).split("},{"line_number":1280,"context_line":"                \u0027/\u0027)[-1])"},{"line_number":1281,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"5e8c6b2b_e8ac877a","line":1278,"in_reply_to":"6d2b8529_f46cf6a8","updated":"2026-11-10 03:25:11.000000000","message":"This is handle by the async client https://review.opendev.org/c/openstack/ironic/+/1014786/1/ironic/common/redfish/resource.py )","commit_id":"e0a19094748aa4ae06b5498271ea526063d7c951"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":1411,"context_line":""},{"line_number":1412,"context_line":"        return sensors"},{"line_number":1413,"context_line":""},{"line_number":1414,"context_line":"    async def _process_storage_sensors_async(self, node_uuid, system):"},{"line_number":1415,"context_line":"        \"\"\"Process storage sensors (drives) asynchronously."},{"line_number":1416,"context_line":""},{"line_number":1417,"context_line":"        :param node_uuid: Node UUID string for logging."}],"source_content_type":"text/x-python","patch_set":12,"id":"cf17fd14_6dae8f40","line":1414,"updated":"2026-11-24 20:34:18.000000000","message":"It looks like this needs unit test coverage","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":1411,"context_line":""},{"line_number":1412,"context_line":"        return sensors"},{"line_number":1413,"context_line":""},{"line_number":1414,"context_line":"    async def _process_storage_sensors_async(self, node_uuid, system):"},{"line_number":1415,"context_line":"        \"\"\"Process storage sensors (drives) asynchronously."},{"line_number":1416,"context_line":""},{"line_number":1417,"context_line":"        :param node_uuid: Node UUID string for logging."}],"source_content_type":"text/x-python","patch_set":12,"id":"1a169143_03cd210f","line":1414,"in_reply_to":"cf17fd14_6dae8f40","updated":"2026-11-25 03:41:40.000000000","message":"Done","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":1456,"context_line":""},{"line_number":1457,"context_line":"        return storage_sensors"},{"line_number":1458,"context_line":""},{"line_number":1459,"context_line":"    async def _process_simple_storage_sensors_async(self, node_uuid, system):"},{"line_number":1460,"context_line":"        \"\"\"Process drive sensors from SimpleStorage asynchronously."},{"line_number":1461,"context_line":""},{"line_number":1462,"context_line":"        :param node_uuid: Node UUID string for logging."}],"source_content_type":"text/x-python","patch_set":12,"id":"79383bd4_ff987861","line":1459,"updated":"2026-11-24 20:34:18.000000000","message":"ditto","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":1456,"context_line":""},{"line_number":1457,"context_line":"        return storage_sensors"},{"line_number":1458,"context_line":""},{"line_number":1459,"context_line":"    async def _process_simple_storage_sensors_async(self, node_uuid, system):"},{"line_number":1460,"context_line":"        \"\"\"Process drive sensors from SimpleStorage asynchronously."},{"line_number":1461,"context_line":""},{"line_number":1462,"context_line":"        :param node_uuid: Node UUID string for logging."}],"source_content_type":"text/x-python","patch_set":12,"id":"22cb43c2_543475b5","line":1459,"in_reply_to":"79383bd4_ff987861","updated":"2026-11-25 03:41:40.000000000","message":"Done","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"}],"ironic/drivers/modules/redfish/utils.py":[{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"64ebd4c0529db47302b18f3d8cde2fca7aa48b28","unresolved":true,"context_lines":[{"line_number":505,"context_line":"            )"},{"line_number":506,"context_line":"            await client.__aenter__()"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"            if CONF.redfish.connection_cache_size:"},{"line_number":509,"context_line":"                cls._sessions[session_key] \u003d client"},{"line_number":510,"context_line":"                if len(cls._sessions) \u003e CONF.redfish.connection_cache_size:"},{"line_number":511,"context_line":"                    cls._expire_oldest_session()"}],"source_content_type":"text/x-python","patch_set":6,"id":"afd76a35_a4253758","line":508,"updated":"2026-11-04 15:54:11.000000000","message":"we should close the clients once they\u0027re no longer cached","commit_id":"54872bfad6ef17ffe923fdd9f708e36131cfa4fc"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"a1f2bf2029ef785a14e138ebc82f0637e4f10579","unresolved":false,"context_lines":[{"line_number":505,"context_line":"            )"},{"line_number":506,"context_line":"            await client.__aenter__()"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"            if CONF.redfish.connection_cache_size:"},{"line_number":509,"context_line":"                cls._sessions[session_key] \u003d client"},{"line_number":510,"context_line":"                if len(cls._sessions) \u003e CONF.redfish.connection_cache_size:"},{"line_number":511,"context_line":"                    cls._expire_oldest_session()"}],"source_content_type":"text/x-python","patch_set":6,"id":"8dad164b_5dd3e365","line":508,"in_reply_to":"afd76a35_a4253758","updated":"2026-11-05 03:13:34.000000000","message":"Acknowledged","commit_id":"54872bfad6ef17ffe923fdd9f708e36131cfa4fc"},{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"84b8d643b809ffffab7867ba337a6639c3f8e828","unresolved":true,"context_lines":[{"line_number":462,"context_line":""},{"line_number":463,"context_line":"    _sessions \u003d {}"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"    _in_use \u003d collections.Counter()"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    @classmethod"},{"line_number":468,"context_line":"    def _make_session_key(cls, driver_info):"}],"source_content_type":"text/x-python","patch_set":7,"id":"d1b29762_f62ef9a9","line":465,"updated":"2026-11-05 09:43:12.000000000","message":"this needs a type annotation","commit_id":"a4d252cbb0a8bafa2d654ad4aab4cd84063d6e03"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"4556cf172f0b8dac3eecfcddc794e30f5192b3ea","unresolved":false,"context_lines":[{"line_number":462,"context_line":""},{"line_number":463,"context_line":"    _sessions \u003d {}"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"    _in_use \u003d collections.Counter()"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    @classmethod"},{"line_number":468,"context_line":"    def _make_session_key(cls, driver_info):"}],"source_content_type":"text/x-python","patch_set":7,"id":"bc4c416b_44cbef47","line":465,"in_reply_to":"d1b29762_f62ef9a9","updated":"2026-11-05 14:35:54.000000000","message":"Done","commit_id":"a4d252cbb0a8bafa2d654ad4aab4cd84063d6e03"},{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"1423c903beee41dac170a824b97e047ef75b28a8","unresolved":true,"context_lines":[{"line_number":478,"context_line":"        pw_hash \u003d hashlib.pbkdf2_hmac("},{"line_number":479,"context_line":"            \u0027sha512\u0027,"},{"line_number":480,"context_line":"            password.encode(\u0027utf-8\u0027),"},{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"}],"source_content_type":"text/x-python","patch_set":9,"id":"3504d37c_4dce314e","line":481,"updated":"2026-11-19 15:24:47.000000000","message":"am I understanding correctly that this does 600k iterations of pbkdf2 every time it is called ?\nfor a single node is ok, but 100 nodes means almost one minute? and so on\ncan\u0027t we cache this just once? or use a faster way?","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"3d44c1ad335695ccb502e71f974deaf72b8fe5af","unresolved":true,"context_lines":[{"line_number":478,"context_line":"        pw_hash \u003d hashlib.pbkdf2_hmac("},{"line_number":479,"context_line":"            \u0027sha512\u0027,"},{"line_number":480,"context_line":"            password.encode(\u0027utf-8\u0027),"},{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"}],"source_content_type":"text/x-python","patch_set":9,"id":"d70d452f_f76e4034","line":481,"in_reply_to":"3504d37c_4dce314e","updated":"2026-11-19 16:08:04.000000000","message":"We need to check with Julia since IIRC she wrote the original synchronous session code","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"5d1451fbe526f959c0c26efad3832f20714a57a2","unresolved":false,"context_lines":[{"line_number":478,"context_line":"        pw_hash \u003d hashlib.pbkdf2_hmac("},{"line_number":479,"context_line":"            \u0027sha512\u0027,"},{"line_number":480,"context_line":"            password.encode(\u0027utf-8\u0027),"},{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"}],"source_content_type":"text/x-python","patch_set":9,"id":"36b98168_3fc28ac5","line":481,"in_reply_to":"c3a11db1_3e041cb0","updated":"2026-11-24 11:55:11.000000000","message":"Marked as resolved.","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a95d2dd1decc3ff43f11441e49f318f72f3502da","unresolved":true,"context_lines":[{"line_number":478,"context_line":"        pw_hash \u003d hashlib.pbkdf2_hmac("},{"line_number":479,"context_line":"            \u0027sha512\u0027,"},{"line_number":480,"context_line":"            password.encode(\u0027utf-8\u0027),"},{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"}],"source_content_type":"text/x-python","patch_set":9,"id":"c3a11db1_3e041cb0","line":481,"in_reply_to":"d70d452f_f76e4034","updated":"2026-11-19 16:21:04.000000000","message":"Basically, your going to need to build a cache and leverage the cache. The reason for the high level of rounds is to prevent usability of the hash if someone captures the memory.","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"1423c903beee41dac170a824b97e047ef75b28a8","unresolved":true,"context_lines":[{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"},{"line_number":485,"context_line":"            driver_info.get(\u0027username\u0027),"},{"line_number":486,"context_line":"            driver_info.get(\u0027verify_ca\u0027),"},{"line_number":487,"context_line":"            pw_hash.hex(),"}],"source_content_type":"text/x-python","patch_set":9,"id":"54e390a6_890b6f29","line":484,"updated":"2026-11-19 15:24:47.000000000","message":"one more thing here, the client has also auth_type and root_prefix, but hey\u0027re not used to determine the key, meaning that a client can be actually configured for multiple nodes sharing host and credentials, even if they have different auth modes and different end points\nI don\u0027t think this is intended, and it should not be","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a95d2dd1decc3ff43f11441e49f318f72f3502da","unresolved":true,"context_lines":[{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"},{"line_number":485,"context_line":"            driver_info.get(\u0027username\u0027),"},{"line_number":486,"context_line":"            driver_info.get(\u0027verify_ca\u0027),"},{"line_number":487,"context_line":"            pw_hash.hex(),"}],"source_content_type":"text/x-python","patch_set":9,"id":"b335b156_82cb5941","line":484,"in_reply_to":"54e390a6_890b6f29","updated":"2026-11-19 16:21:04.000000000","message":"Yeah, this is all rooted in just building a cache entry. I don\u0027t distinctly recall it being used for auth itself.","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"5d1451fbe526f959c0c26efad3832f20714a57a2","unresolved":false,"context_lines":[{"line_number":481,"context_line":"            str(driver_info.get(\u0027address\u0027, \u0027\u0027) * 4).encode(\u0027utf-8\u0027),"},{"line_number":482,"context_line":"            600000)"},{"line_number":483,"context_line":"        return ("},{"line_number":484,"context_line":"            driver_info.get(\u0027address\u0027),"},{"line_number":485,"context_line":"            driver_info.get(\u0027username\u0027),"},{"line_number":486,"context_line":"            driver_info.get(\u0027verify_ca\u0027),"},{"line_number":487,"context_line":"            pw_hash.hex(),"}],"source_content_type":"text/x-python","patch_set":9,"id":"88b6b256_71bd7575","line":484,"in_reply_to":"b335b156_82cb5941","updated":"2026-11-24 11:55:11.000000000","message":"Marked as resolved.","commit_id":"bde6e8fc388c5518f0b1a9e9371e089f4d041c23"},{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"9f9ab5d2fec08524a14b68e7608bcf4eff25a7ee","unresolved":true,"context_lines":[{"line_number":486,"context_line":"        auth_type\u003ddriver_info.get(\u0027auth_type\u0027, \u0027auto\u0027),"},{"line_number":487,"context_line":"        root_prefix\u003ddriver_info.get(\u0027root_prefix\u0027),"},{"line_number":488,"context_line":"        default_request_timeout\u003dmax("},{"line_number":489,"context_line":"            CONF.redfish.connect_timeout,"},{"line_number":490,"context_line":"            CONF.redfish.read_timeout),"},{"line_number":491,"context_line":"    )"},{"line_number":492,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"110924d2_521cd834","line":489,"updated":"2026-11-24 20:34:18.000000000","message":"The client has its own connect_timeout argument now so this can be split up. Also should the following config be mapped to these arguments? They don\u0027t quite map:\n\n[redfish]connection_attempts -\u003e server_side_retries\n[redfish]connection_retry_interval -\u003e server_side_retries_delay","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"64537394d6ce31e47dd2711cb45d566e185faf79","unresolved":false,"context_lines":[{"line_number":486,"context_line":"        auth_type\u003ddriver_info.get(\u0027auth_type\u0027, \u0027auto\u0027),"},{"line_number":487,"context_line":"        root_prefix\u003ddriver_info.get(\u0027root_prefix\u0027),"},{"line_number":488,"context_line":"        default_request_timeout\u003dmax("},{"line_number":489,"context_line":"            CONF.redfish.connect_timeout,"},{"line_number":490,"context_line":"            CONF.redfish.read_timeout),"},{"line_number":491,"context_line":"    )"},{"line_number":492,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"50c6170d_2f296a31","line":489,"in_reply_to":"110924d2_521cd834","updated":"2026-11-25 03:41:40.000000000","message":"connection_attempts / connection_retry_interval — you\u0027re right that they don\u0027t quite map, in two ways, and I\u0027ve mapped them anyway with the mismatch handled:\n\n1. Attempts vs retries. connection_attempts\u003d5 is five attempts total (tenacity\u0027s stop_after_attempt), whereas the connector does max_attempts \u003d server_side_retries + 1. Passing one straight into the other buys an extra attempt, hence connection_attempts - 1. oslo.config pins the option at min\u003d1, so it can\u0027t go negative. There\u0027s a test asserting both paths end up making the same number of attempts.\n2. The async knob is wider. [redfish]connection_attempts covers only failures to connect; the async connector\u0027s server_side_retries covers connection failures and HTTP 5xx on the same count. So mapping it also changes 5xx retry behaviour — with the defaults, 3 retries at 2s becomes 4 at 4s.","commit_id":"f6ac0b7bc545561f69ef48bc48c4da7e3b1c8bf3"}],"releasenotes/notes/async-sensor-timeouts-8c21da4b6f0e37a9.yaml":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"55844ef81f1923774a35ecc50bdffacbae114f0a","unresolved":true,"context_lines":[{"line_number":27,"context_line":"    often."},{"line_number":28,"context_line":"  - |"},{"line_number":29,"context_line":"    A sensor collection that returns something other than a dictionary"},{"line_number":30,"context_line":"    no longer discards the results of the nodes collected after it."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"3ec16aeb_24185ac4","line":30,"updated":"2026-11-25 19:26:25.000000000","message":"This seems a bit too detailed, and refers to fixes for something that has only just landed so doesn\u0027t really need a release note. I\u0027d be inclined to delete the whole note","commit_id":"2c259383f135290e853caf4c1c92677cfc4b1e89"},{"author":{"_account_id":15519,"name":"Iury Gregory Melo Ferreira","display_name":"Iury Gregory","email":"iurygregory@gmail.com","username":"iurygregory"},"change_message_id":"b7cf4654652d089e6055809cf49b241fb7fb679c","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    often."},{"line_number":28,"context_line":"  - |"},{"line_number":29,"context_line":"    A sensor collection that returns something other than a dictionary"},{"line_number":30,"context_line":"    no longer discards the results of the nodes collected after it."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"0a5f6c58_4d9b1d83","line":30,"in_reply_to":"3ec16aeb_24185ac4","updated":"2026-11-25 20:25:00.000000000","message":"this is what happen you you do `git add *` 😅","commit_id":"2c259383f135290e853caf4c1c92677cfc4b1e89"}]}
