GNOME Bugzilla – Bug 752966
ovirt: Wait machine to start before connecting to it
Last modified: 2018-01-11 10:25:51 UTC
See patch.
Created attachment 308310 [details] [review] ovirt: Wait machine to start before connecting to it Apparently the starting process is asynchronous in the sense that even after the async Ovirt.Vm.start_async() returns, the state change is not not guaranteed to have taken place and communicated back from server. This results in Boxes giving up on connecting on slower networks where state change (and it's communication etc) can take a few seconds. This patch tries to solve the issue by waiting for state change to happen for 3 seconds (more specifically, for 1 second 3 times) before giving up on the state change and hence connecting to it.
Created attachment 308397 [details] [review] ovirt: Wait machine to start before connecting to it v2: Add bug reference to commit log. `git-bz file` should have handled that.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-boxes/issues/66.