diff options
author | Mark Hamzy <hamzy@us.ibm.com> | 2009-12-09 17:24:37 -0600 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-12-09 23:35:47 -0500 |
commit | f9d0354e9909ea5ae73c152429db6cceed007a8a (patch) | |
tree | e2db3139a216c8c9047d88d5f647b7e1286297d1 /iutil.py | |
parent | 30e96b4857422948d1586c6ed69e5f8f67960f05 (diff) | |
download | anaconda-f9d0354e9909ea5ae73c152429db6cceed007a8a.tar.gz anaconda-f9d0354e9909ea5ae73c152429db6cceed007a8a.tar.xz anaconda-f9d0354e9909ea5ae73c152429db6cceed007a8a.zip |
update reIPL messages
Added some more debugging information which was helpful during
reIPL problem determination. Also, some of the messages did not
keep up with previous code changes...
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -888,11 +888,14 @@ def reIPLonCCW(iplsubdev, reipl_path): log.warning(message) # do NOT raise an exception since this might not exist or not be writable + log.info("ccw reIPL using DASD %s" % (device,)) + except Exception, e: try: message = e.args[0] except: message = e.__str__ () + log.info("Caught exception %s", (message,)) return (message, (_("After shutdown, please perform a manual IPL from DASD device %s to continue " "installation") % (device,))) @@ -952,11 +955,14 @@ def reIPLonFCP(iplsubdev, reipl_path): log.warning(message) raise Exception (message) + log.info("fcp reIPL using FCP %(device)s, WWPN %(wwpn)s, LUN %(lun)s" % (fcpvalue)) + except Exception, e: try: message = e.args[0] except: message = e.__str__ () + log.info("Caught exception %s", (message,)) return (message, (_("After shutdown, please perform a manual IPL from FCP %(device)s with WWPN %(wwpn)s " "and LUN %(lun)s to continue installation") % (fcpvalue))) @@ -968,10 +974,10 @@ def reIPLtrigger(anaconda): if not isS390(): return if anaconda.canReIPL: - log.info("reipl configuration successful => reboot") + log.info("reIPL configuration successful => reboot") os.kill(os.getppid(), signal.SIGUSR2) else: - log.info("reipl configuration failed => halt") + log.info("reIPL configuration failed => halt") os.kill(os.getppid(), signal.SIGUSR1) def reIPL(anaconda, loader_pid): @@ -986,7 +992,7 @@ def reIPL(anaconda, loader_pid): ipldev = None if ipldev is None: - message = _("Error determining mount point type") + message = _("Error determining boot device's disk name") log.warning(message) return (message, instruction) @@ -1000,6 +1006,7 @@ def reIPL(anaconda, loader_pid): anaconda.canReIPL = True else: anaconda.canReIPL = False + log.info(message) reIPLtrigger(anaconda) |