Change in vdsm[master]: v2v: Convert VM from external source to Data Domain

michal.skrivanek at redhat.com michal.skrivanek at redhat.com
Tue Mar 31 11:03:53 UTC 2015


Michal Skrivanek has posted comments on this change.

Change subject: v2v: Convert VM from external source to Data Domain
......................................................................


Patch Set 15:

(1 comment)

https://gerrit.ovirt.org/#/c/37509/15/vdsm/v2v.py
File vdsm/v2v.py:

Line 350:                     return
Line 351:                 logging.debug("Trying to kill virt-v2v (attempt %d/%d)",
Line 352:                               i + 1, self.ABORT_RETRIES)
Line 353:                 try:
Line 354:                     self._proc.kill()
> This is sanlock algorithm for killing processes. Maybe not be needed but I 
proper way is send SIGTERM, potentially couple of times, and then SIGKILL just once as a last resort
maybe sanlock is ok with it but first you are supposed to be graceful and politely ask to TERM
Line 355:                 except OSError as e:
Line 356:                     if e.errno == errno.ESRCH:
Line 357:                         logging.debug("virt-v2v terminated with exit code: %d",
Line 358:                                       self._proc.returncode)


-- 
To view, visit https://gerrit.ovirt.org/37509
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I34bd86d5a87ea8c42113c4a732f87ddd4ceab9ea
Gerrit-PatchSet: 15
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list