Alon Bar-Lev has posted comments on this change.
Change subject: packaging - starting ovirt-engine only after yum rollback
......................................................................
Patch Set 1: (2 inline comments)
....................................................
File packaging/fedora/setup/engine-upgrade.py
Line 1229: checkRunningTasks()
Line 1230: # If something went wrong, restart DB
services and the engine
Line 1231: except:
Line 1232: runFunc([[startDbRelatedServices,
etlService, notificationService]], MSG_INFO_START_DB)
Line 1233: runFunc(startEngineService,
MSG_INFO_START_ENGINE % engineService)
No need?
Line 1234: raise
Line 1235: else:
Line 1236: # This means that user chose not to stop
ovirt-engine
Line 1237: logging.debug("exiting gracefully")
Line 1292: raise
Line 1293:
Line 1294: finally:
Line 1295: # start engine after the rollback
Line 1296: runFunc([startEngine], MSG_INFO_START_ENGINE % engineService)
Use startEngineService? well I see this is not changed from original code...
but still...
I don't really like starting the engine unconditionally... but we are going to
kill this code.
Line 1297:
Line 1298: # Print log location on success
Line 1299: addAdditionalMessages(etlService.isServiceAvailable())
Line 1300: print "\n%s\n" % MSG_INFO_UPGRADE_OK
--
To view, visit http://gerrit.ovirt.org/14387
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If8160293d45361534dfda6c6aa3870e72368d10b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches