Bug 1528157 - An unknown error has occurred when press "help" button in anaconda UI
Summary: An unknown error has occurred when press "help" button in anaconda UI
Keywords:
Status: CLOSED DUPLICATE of bug 1378010
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.1
: ---
Assignee: Yuval Turgeman
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-21 07:01 UTC by cshao
Modified: 2018-01-15 10:31 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-15 10:31:10 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.2+
cshao: testing_ack+


Attachments (Terms of Use)
all log info (278.38 KB, application/x-gzip)
2017-12-21 07:01 UTC, cshao
no flags Details
help-error (108.35 KB, image/png)
2017-12-21 07:01 UTC, cshao
no flags Details

Description cshao 2017-12-21 07:01:19 UTC
Created attachment 1370741 [details]
all log info

Description of problem:
An unknown error has occurred when press "help" button in anaconda UI


01:47:41,398 WARN anaconda: no help content found for file SummaryHub-common.xml
01:47:41,398 WARN anaconda: no help content found for file SummaryHub-x86.xml
01:47:41,398 WARN anaconda: no help content found for file Installation_Guide.xml
01:47:41,398 DEBUG anaconda: running handleException
01:47:41,398 CRIT anaconda: Traceback (most recent call last):

  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 987, in _on_help_clicked
    ihelp.start_yelp(ihelp.get_help_path(obj.helpFile, self.instclass))

  File "/usr/lib64/python2.7/site-packages/pyanaconda/ihelp.py", line 153, in get_help_path
    return _get_best_help_file(instclass.help_folder, instclass.help_placeholder)

  File "/usr/lib64/python2.7/site-packages/pyanaconda/ihelp.py", line 59, in _get_best_help_file
    help_langs = [l for l in os.listdir(help_folder) if os.path.isfile(os.path.join(help_folder, l, help_file))]

  File "/usr/lib64/python2.7/posixpath.py", line 75, in join
    if b.startswith('/'):

AttributeError: 'NoneType' object has no attribute 'startswith'



Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-ovirt-4.2-2017122007.iso
imgbased-1.0.5-1.el7.centos.noarch
anaconda 21.48.22.121-1

How reproducible:
100%

Steps to Reproduce:
1. Install ovirt-node-ng-installer-ovirt-4.2-2017122007.iso via anaconda UI.
2. Click help button.
3. Focus on the UI.

Actual results:
An unknown error has occurred when press "help" button in anaconda UI

Expected results:
help function can work well.

Additional info:

Comment 1 cshao 2017-12-21 07:01:49 UTC
Created attachment 1370742 [details]
help-error

Comment 2 Ryan Barry 2017-12-21 13:03:16 UTC
Is this reproducible downstream?

It looks like some parts of the anaconda stage2 are missing. Possibly the CentOS boot ISO does not include these.

Comment 3 cshao 2017-12-22 01:19:41 UTC
(In reply to Ryan Barry from comment #2)
> Is this reproducible downstream?
No, it is only occurs on upstream build.

> It looks like some parts of the anaconda stage2 are missing. Possibly the
> CentOS boot ISO does not include these.

Comment 4 Yuval Turgeman 2018-01-08 12:29:12 UTC
There are 2 problems here, like Ryan said, no default help files are available in Centos boot.iso for some reason.  If those do not exist, anaconda tries to figure out the help file location from the the current installclass (OvirtBaseInstallClass in rhv.py) using its help_folder and help_placeholder attributes which do not exist.  So I'm not sure who this bug should be assigned to, Sandro ?

Comment 5 Sandro Bonazzola 2018-01-09 16:56:49 UTC
(In reply to Yuval Turgeman from comment #4)
> There are 2 problems here, like Ryan said, no default help files are
> available in Centos boot.iso for some reason.  If those do not exist,
> anaconda tries to figure out the help file location from the the current
> installclass (OvirtBaseInstallClass in rhv.py) using its help_folder and
> help_placeholder attributes which do not exist.  So I'm not sure who this
> bug should be assigned to, Sandro ?

Please open a bug on https://bugs.centos.org about the missing help docs causing anaconda error. Once done, add the reference to that bug here and close this bug with resolution upstream. Not much we can do here other than that.

Comment 6 Yuval Turgeman 2018-01-15 10:31:10 UTC
Opened this bug: https://bugs.centos.org/view.php?id=14377 and found bug 1378010 that fixes the install class.  So closing this one as duplicate.

*** This bug has been marked as a duplicate of bug 1378010 ***


Note You need to log in before you can comment on or make changes to this bug.