After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752966 - ovirt: Wait machine to start before connecting to it
ovirt: Wait machine to start before connecting to it
Status: RESOLVED OBSOLETE
Product: gnome-boxes
Classification: Applications
Component: ovirt
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-07-28 15:44 UTC by Zeeshan Ali
Modified: 2018-01-11 10:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ovirt: Wait machine to start before connecting to it (3.18 KB, patch)
2015-07-28 15:44 UTC, Zeeshan Ali
none Details | Review
ovirt: Wait machine to start before connecting to it (3.23 KB, patch)
2015-07-29 13:34 UTC, Zeeshan Ali
none Details | Review

Description Zeeshan Ali 2015-07-28 15:44:28 UTC
See patch.
Comment 1 Zeeshan Ali 2015-07-28 15:44:33 UTC
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.
Comment 2 Zeeshan Ali 2015-07-29 13:34:24 UTC
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.
Comment 3 GNOME Infrastructure Team 2018-01-11 10:25:51 UTC
-- 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.