| Summary: | Result.html not generated with older version of openscap | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jakub Mazanek <jmazanek> |
| Component: | preupgrade-assistant | Assignee: | Petr Hracek <phracek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Alois Mahdal <amahdal> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7 | CC: | fkluknav, jmazanek, mbocek, phracek, pstodulk, tcerna |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | preupgrade-assistant-2.1.9-2.el6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-01 15:24:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jakub Mazanek
2016-08-31 08:24:27 UTC
Hi, I'm very confused from this bug and packages caused this problem.
When I have installed openscap-1.2.8-2.el6.x86_64 (version of solved problem), I receive mentioned error:
preupg: error: [Errno 2] No such file or directory: u'/root/preupgrade/result.html'
If I install older openscap (openscap-1.0.10-3.el6.x86_64), it works. Why?
=====================================================
Reproduced in:
openscap-1.2.8-2.el6.x86_64
preupgrade-assistant-2.0.3-8.el6.x86_64
preupgrade-assistant-contents-0.6.32-1.el6.noarch
FAIL
=====================================================
# preupg
...
131/132 ...done (NIS server MAXUID and MAXGID limits check)
132/132 ...done (NIS server config file back-up)
Assessment finished (time 02:59s)
I/O warning : failed to load external entity "/usr/share/openscap/xsl/security-guide.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 40 element import
xsl:import : unable to load /usr/share/openscap/xsl/security-guide.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/oval-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 41 element import
xsl:import : unable to load /usr/share/openscap/xsl/oval-report.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/sce-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 42 element import
xsl:import : unable to load /usr/share/openscap/xsl/sce-report.xsl
OpenSCAP Error:: Could not parse XSLT file '/usr/share/preupgrade/xsl/preup.xsl' [xslt.c:146]
I/O warning : failed to load external entity "/usr/share/openscap/xsl/security-guide.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 40 element import
xsl:import : unable to load /usr/share/openscap/xsl/security-guide.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/oval-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 41 element import
xsl:import : unable to load /usr/share/openscap/xsl/oval-report.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/sce-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 42 element import
xsl:import : unable to load /usr/share/openscap/xsl/sce-report.xsl
OpenSCAP Error:: Could not parse XSLT file '/usr/share/preupgrade/xsl/preup.xsl' [xslt.c:146]
Usage: preupg [options]
preupg: error: [Errno 2] No such file or directory: u'/root/preupgrade/result.html'
>> File result.html was not generated -> FAIL
If I run it in current packages, it works.
=====================================================
Verified in:
openscap-1.2.13-1.el6.x86_64
preupgrade-assistant-2.3.0-1.el6.noarch
preupgrade-assistant-el6toel7-0.6.66-1.el6.noarch
PASS
=====================================================
# preupg
...
|Enabled and disabled services in Red Hat Enterprise Linux 6 |needs_action |
|Modification of /etc/rc.local and /etc/rc.d/rc.local files |needs_action |
--------------------------------------------------------------------------------------------------
The tarball with results is stored in '/root/preupgrade-results/preupg_results-170130025950.tar.gz' .
The latest assessment is stored in the '/root/preupgrade' directory.
Summary information:
We found some potential in-place upgrade risks.
Read the full report file '/root/preupgrade/result.html' for more details.
Read the admin report file /root/preupgrade/result-admin.html for more details.
Upload results to UI by the command:
e.g. preupg -u http://example.com:8099/submit/ -r /root/preupgrade-results/preupg_results-170130025950.tar.gz .
>> File result.html was generated -> PASS
>> When I have installed older openscap, dependency for newer version of openscap caused that new packages will be installed during installation of preupgrade-assistant* packages.
|