Bug 727518
Summary: | [abrt] smolt-1.4.3-3.fc15: smolt.py:315:__init__:NameError: global name 'hostInfo' is not defined | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||
Component: | smolt | Assignee: | Will Woods <wwoods> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | genneth, lonicerae, per.sandberg, robatino, wwoods | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:e3c195f3606729976393f694e027847f9ee6f84a | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-02-17 13:49:44 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mads Kiilerich
2011-08-02 11:13:23 UTC
This seems be a consequence of partly removal of hal. I don't know when this could happen. I think it happened when running on EFI machine with EFI disabled (which includes when running 32 bit Fedora on 64 bit EFI). I propose something like this patch to: * remove the wrong code fragments for the general and trivial case * disable the special but broken code for ppc64 handling --- /usr/share/smolt/client/smolt.py 2011-07-27 18:15:10.726563104 +0200 +++ smolt.py 2011-08-12 18:52:36.340121138 +0200 @@ -302,7 +302,6 @@ self.platform = Gate().process('arch', tempform, WITHHELD_MAGIC_STRING) if Gate().grants('vendor'): - #self.systemVendor = hostInfo.get('system.vendor' self.systemVendor = cat('/sys/devices/virtual/dmi/id/sys_vendor')[0].strip() if not self.systemVendor: self.systemVendor = 'Unknown' @@ -312,10 +311,6 @@ if Gate().grants('model'): self.systemModel = cat('/sys/devices/virtual/dmi/id/product_name')[0].strip() + ' ' + cat('/sys/devices/virtual/dmi/id/product_version')[0].strip() if not self.systemModel: - self.systemModel = hostInfo.get('system.hardware.product') - if hostInfo.get('system.hardware.version'): - self.systemModel += ' ' + hostInfo.get('system.hardware.version') - if not self.systemModel: self.systemModel = 'Unknown' else: self.systemModel = WITHHELD_MAGIC_STRING @@ -329,7 +324,7 @@ else: self.formfactor = WITHHELD_MAGIC_STRING - if tempform == 'ppc64': + if tempform == 'ppc64' and False: # FIXME: hal info is no longer available if hostInfo.get('openfirmware.model'): if hostInfo['openfirmware.model'][:3] == 'IBM': self.systemVendor = 'IBM' I propose this as f16 NTH because crashes in bug reporting tools are very annoying. *** Bug 727513 has been marked as a duplicate of this bug. *** Created attachment 518068 [details] A proposed patch. Bug 727513 is closely related, so instead I propose this patch to fix them all. Still in F16 Gold (AKA RC5). The F16 updates were just enabled and there are no 0-day updates for smolt, either. Package: smolt-1.4.3-5.fc16 Architecture: i686 OS Release: Fedora release 16 (Verne) Comment ----- don't know Was reporting an error and requested !"smolt" info to be included. Package: smolt-1.4.3-5.fc16 OS Release: Fedora release 16 (Verne) Bumping the Version to Rawhide in the hope of getting more attention, since there appear to be no builds for 17 or Rawhide that would fix this. This bug distorts the smolt statistics. This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |