HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
CA-77726: Use a new session to create the return value from Host.migr…
…ate_receive. If event.next and event.from are being used concurrently using the same session, event.from dynamically adds and removes event subscriptions for that session, which can cause event.next to intermittently fail with SESSION_NOT_REGISTERED, even if the client has registered for events. This prevents XenCenter from migrating VMs, since XenCenter and the source host's xapi use the same session to talk to the destination host's xapi, and xapi uses event.next as part of Cli_util.wait_for_task_completion while XenCenter calls event.from all the time. Returning a new session from Host.migrate_receive is a quick fix - we should investigate whether event.next and event.from can be called concurrently with themselves and each other when a session reference is shared. Signed-off-by: John Else <firstname.lastname@example.org>
- Loading branch information...