Change in vdsm[master]: events: send event explicitly after vm was started

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Fri Jun 19 13:12:22 UTC 2015


Piotr Kliczewski has uploaded a new change for review.

Change subject: events: send event explicitly after vm was started
......................................................................

events: send event explicitly after vm was started

We need to make sure that we send 'PoweringUp' status. After we moved
event send logic from _set_lastStatus to ClientIf we no longer send it.


Change-Id: I14e42510fd79796b7587390817a1c1a45773b00f
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/80/42580/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 25a9b10..effe69d 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -780,6 +780,7 @@
             else:
                 self.log.exception("The vm start process failed")
                 self.setDownStatus(ERROR, vmexitreason.GENERIC_ERROR, str(e))
+        self.send_status_event()
 
     def _incomingMigrationPending(self):
         return 'migrationDest' in self.conf or 'restoreState' in self.conf


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14e42510fd79796b7587390817a1c1a45773b00f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list