)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"b2d20f80f05667bed3e11c0513f12b4aa263edc8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"659d3703_1d332875","updated":"2026-11-06 15:43:01.000000000","message":"It seems to be a valid issue in the sequence of init_host vs. RPC servers starting. nova service start() calls init_host first and then start the RPC servers:\n\n- https://github.com/openstack/nova/blob/master/nova/service.py#L223-L265\n\nBut I am wondering if this sequence has been there since the start, so how was it working before? Did you enable wait_for_vif_plugged_event_during_hard_reboot recently and see the issue, or was it working before with wait_for_vif_plugged_event_during_hard_reboot enabled?\n\nAnyways, the solution should be to make RPC available so init_host can repair the instances with reboot, stop, and delete instances, not just wait for external events. it should be eaisly reproducible so let me try some reproducer for this.","commit_id":"8bc2d3cab6f043ddf7918ddeae4c7ef7b2bbc7b0"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0a26d5b3b3a7b8e1948553127b4375c2b2623e9d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"16c39bc4_3425dda8","in_reply_to":"659d3703_1d332875","updated":"2026-11-06 15:59:20.000000000","message":"just to follow up on this as well\n\ndirectionlly skiping the events is not the correct fix\n\nthe correct fix would be to delay starting the instances until such a point as we have start the ablity to receive the events\nbut as gmaan note above we woudl like to understand host this is curretly happenting and why before actully persuign a solution\n\nand we would really like to see a clean way to repodcute the bug so we knwo we are actully fixing it before commiting to a given approch","commit_id":"8bc2d3cab6f043ddf7918ddeae4c7ef7b2bbc7b0"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"6647ec9c75d1f25780d20776f851721ec059b4b0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"7ef7d7ca_1011791e","updated":"2026-11-11 16:37:44.000000000","message":"PS5 reworks the fix in nova\u0027s usual style, after Sean\u0027s comments on IRC:\n- No callbacks and no functools.partial. init_host() records the instances in three lists, and post_start_hook() makes the same calls init_host() used to make: reboot_instance(), start_instance() and _resume_guests_state().\n- No conditional lock. reboot_instance() and start_instance() behave as they do for API requests: reboot takes the instance lock, and both check the task_state when they save. Only the resume is not a request, so only it takes the instance lock (an inner @utils.synchronized function, as in stop_instance()), and it skips an instance that was deleted, or whose state changed, since init_host().\n\nHow far back the bug goes: the reproducer from the parent change, unchanged, passes (so it shows the bug) in eventlet mode on stable/2026.2, stable/2026.1, stable/2025.2, unmaintained/2025.1, unmaintained/2024.1 and unmaintained/2023.1. It also passes in threading mode on master and stable/2026.2; older branches have no threading functional job. So this is not a regression from the graceful shutdown series. The cause is older: since [workarounds] wait_for_vif_plugged_event_during_hard_reboot was added (Ie904d1513b5cf76d6d5f6877545e8eb378dd5499, in Yoga and backported to Victoria), _hard_reboot() waits for network-vif-plugged whenever the option is set, and init_host() has always run before the RPC servers start. The option is empty by default, which is why few deployments hit it.\n\nI also checked the fix there, locally: with both changes applied to stable/2026.2, the regression test and the compute manager unit tests pass in both modes. On stable/2026.1 (context conflicts only) the same tests pass in eventlet mode.","commit_id":"b4f2ad7f7b7360b2d443f98445cd55f43fd5f6af"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"ca12690b6120656c69377e098bb0512feb543fdd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"181f88bf_18ce7baf","updated":"2026-11-12 02:03:18.000000000","message":"recheck flaky test I think: test_unshelve_to_az_server_without_az_constraint","commit_id":"b4f2ad7f7b7360b2d443f98445cd55f43fd5f6af"}]}
