Change in ovirt-guest-agent[master]: agent: Send 'uninstalled' notification non blocking

bazulay at redhat.com bazulay at redhat.com
Tue Jan 8 11:14:15 UTC 2013


Barak Azulay has submitted this change and it was merged.

Change subject: agent: Send 'uninstalled' notification non blocking
......................................................................


agent: Send 'uninstalled' notification non blocking

The "echo" command blocks if the host is not connected to the
virtio-serial port. Replace it with a short python script that
opens the port with the O_NONBLOCK flag. This way, removing the
agent's doesn't hung if vdsm (or any other listener) doesn't
exist during the removal.

Change-Id: I5b49e53cda2f21bd759b0f3f67619f7f1e45688f
Signed-off-by: Gal Hammer <ghammer at redhat.com>
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
M ovirt-guest-agent.spec
1 file changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Barak Azulay: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10476
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b49e53cda2f21bd759b0f3f67619f7f1e45688f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Gal Hammer <ghammer at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Gal Hammer <ghammer at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>



More information about the Engine-commits mailing list