Hide Forgot
Created attachment 1202333 [details] anaconda-error Description of problem: An unknown error occurs during anaconda interactive installation on local disk machine. ============================================================= 13:17:09,670 INFO anaconda: Configuring addons 13:17:13,148 DEBUG anaconda: running handleException 13:17:13,151 CRIT anaconda: Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 104, in doConfiguration ksdata.addons.execute(storage, ksdata, instClass, u, payload) File "/usr/lib64/python2.7/site-packages/pyanaconda/addons.py", line 88, in execute v.execute(storage, ksdata, instClass, users, payload) File "/usr/share/anaconda/addons/org_fedora_oscap/ks/oscap.py", line 543, in execute self.postinst_tailoring_path, chroot=getSysroot()) File "/usr/share/anaconda/addons/org_fedora_oscap/common.py", line 231, in run_oscap_remediate raise OSCAPaddonError(msg) OSCAPaddonError: Content evaluation and remediation with the oscap tool failed: WARNING: Skipping http://www.redhat.com/security/data/oval/Red_Hat_Enterprise_Linux_7.xml file which is referenced from XCCDF content WARNING: Skipping http://www.redhat.com/security/data/oval/Red_Hat_Enterprise_Linux_7.xml file which is referenced from XCCDF content 13:17:13,151 DEBUG anaconda: Gtk running, queuing exception handler to the main loop 13:17:13,152 INFO anaconda: Thread Done: AnaConfigurationThread (140466392377088) 13:17:16,352 INFO anaconda: Running kickstart %%traceback script(s) 13:17:16,352 INFO anaconda: All kickstart %%traceback script(s) have been run ============================================================= Version-Release number of selected component (if applicable): redhat-virtualization-host-4.0-20160912.1 kernel-3.10.0-493.el7.x86_64 imgbased-0.8.4-1.el7ev.noarch How reproducible: 30% Steps to Reproduce: 1. Anaconda interactive install RHVH on local machine via ks file in attachment. 2. Set correct date, keyboard, language, disk, network and so on. 3. Focus on the installation process. Actual results: An unknown error occurs during anaconda interactive installation on local disk machine. Expected results: Anaconda interactive install RHVH on local machine can successful without error. Additional info: We used RHEL 7.3 Beta tree for testing because no available initrd.img for RHV at present.
Created attachment 1202338 [details] all log info + ks
Can you try with https://bugzilla.redhat.com/show_bug.cgi?id=1373387#c9 ?
(In reply to Ryan Barry from comment #2) > Can you try with https://bugzilla.redhat.com/show_bug.cgi?id=1373387#c9 ? After add below partitioning section to ks, the auto installation can successful. But seem it can't affect the anaconda interactive installation. reqpart --add-boot part pv.01 --size=42000 --grow volgroup HostVG pv.01 logvol swap --vgname=HostVG --name=swap --fstype=swap --recommended logvol none --vgname=HostVG --name=HostPool --thinpool --size=40000 --grow logvol / --vgname=HostVG --name=root --thin --poolname=HostPool --fsoptions="defaults,discard" --size=6000 logvol /var --vgname=HostVG --name=var --thin --poolname=HostPool --fsoptions="defaults,discard" --size=15000 1, Grub info can show correctly(see attachment "grub.png") 2. imgbase w -> pass imgbase check -> pass imgbase layout -> pass # imgbase w [INFO] You are on rhvh-4.0-0.20160912.0+1 # imgbase check Status: OK Mount points ... OK Separate /var ... OK Discard is used ... OK Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK # imgbase layout rhvh-4.0-0.20160912.0 +- rhvh-4.0-0.20160912.0+1
Created attachment 1202765 [details] grub.png
Can you please test this on the 7.3 distill?
(In reply to Ryan Barry from comment #5) > Can you please test this on the 7.3 distill? Still can reproduce this issue, seem it is related with "Security Policy" setting. No such issue if we don't select any security policy. Test version: redhat-virtualization-host-4.0-20161007.0 RHVH-4.0-20161007.0-RHVH-x86_64-dvd1.iso imgbased-0.8.5-0.1.el7ev.noarch
Created attachment 1208312 [details] uefi_all_log
I guess I found the problem ~ Security Policy. If user select Security Policy, then the bug occurs. No such issue if we don't select any security policy. Test version: redhat-virtualization-host-4.0-20161007.0 RHVH-4.0-20161007.0-RHVH-x86_64-dvd1.iso imgbased-0.8.5-0.1.el7ev.noarch How reproducible: 100% Test steps: 1. Anaconda interactive install RHVH on machine via iso. 2. Set correct date, keyboard, language, disk, network and so on. 3. Enter Security policy page, select "Pre-release Draft STIG for Red Hat Enterprise Linux 7 Server" profile. 4. Continue the installation and focus on the installation process. Test result: The original error occurs during anaconda interactive installation. So assigned this bug.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Reassigning to Anaconda, since this is outside the scope of RHV.
This looks specific to the oscap add-on, so reassigning for them to investigate.
We were resource constrained and couldn't fix this in time for 7.4.0. Either we need blocker+ or we have to postpone until 7.5.0.
Test version: RHVH-4.1-20171106.0-RHVH-x86_64-dvd1.iso Test result: RHVH installation can succeed during anaconda interactive installation on local disk machine when Security Policy is getting configured So close this bug as CURRENTRELEASE