Nir Soffer has posted comments on this change.
Change subject: bootstrap: Return recovery error during lvm bootstrap
......................................................................
Patch Set 4:
(2 comments)
....................................................
File vdsm/BindingXMLRPC.py
Line 983:
Line 984: # Ready to show the log into vdsm.log
Line 985: f.im_self.log.log(logLevel, logStr)
Line 986:
Line 987: if f.im_self.cif.ready:
I look for this check in jsonrpc bindings and it is not there - this mean we
have to fix jsonrpc bindings (in a later patch).
Line 988: res = f(*args, **kwargs)
Line 989: else:
Line 990: res = errCode['recovery']
Line 991: f.im_self.cif.log.log(logLevel, 'return %s with %s',
....................................................
File vdsm/clientIF.py
Line 255: self.irs = None
Line 256: if config.getboolean('irs', 'irs_enable'):
Line 257: try:
Line 258: self.irs = Dispatcher(HSM())
Line 259: except:
This indeed looks pointless, but I don't think that this patch change the
situation in this case.
Line 260: self.log.error("Error initializing IRS",
exc_info=True)
Line 261: else:
Line 262:
self.irs.registerDomainStateChangeCallback(self.contEIOVms)
Line 263:
--
To view, visit http://gerrit.ovirt.org/21530
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id74468917c5b7c05d4183854e2f1255de98325dc
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches